home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1990-03-14 | 114.0 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| MDCD Archive (archive/mdcd)
| ext
| Supported |
66%
| dexvert
| Mike Davies Module (music/mikeDavies)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Sega Genesis/Megadrive/32x ROM (other/genesisROM)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Wed Mar 14 10:22:40 1990, modified Wed Mar 14 10:22:40 1990, creator 'MPS ', type ASCII, 116119 bytes "m68k.md" , at 0x1c617 382 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 6d 36 38 6b 2e 6d | 64 00 00 00 00 00 00 00 |..m68k.m|d.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 01 c5 97 00 | 00 01 7e a2 24 12 40 a2 |........|..~.$.@.|
|00000060| 24 12 40 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |$.@.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 52 ce 00 00 |........|....R...|
|00000080| 3b 3b 2d 20 4d 61 63 68 | 69 6e 65 20 64 65 73 63 |;;- Mach|ine desc|
|00000090| 72 69 70 74 69 6f 6e 20 | 66 6f 72 20 47 4e 55 20 |ription |for GNU |
|000000a0| 63 6f 6d 70 69 6c 65 72 | 0d 3b 3b 2d 20 4d 6f 74 |compiler|.;;- Mot|
|000000b0| 6f 72 6f 6c 61 20 36 38 | 30 30 30 20 56 65 72 73 |orola 68|000 Vers|
|000000c0| 69 6f 6e 0d 3b 3b 20 20 | 20 43 6f 70 79 72 69 67 |ion.;; | Copyrig|
|000000d0| 68 74 20 28 43 29 20 31 | 39 38 37 2c 20 31 39 38 |ht (C) 1|987, 198|
|000000e0| 38 20 46 72 65 65 20 53 | 6f 66 74 77 61 72 65 20 |8 Free S|oftware |
|000000f0| 46 6f 75 6e 64 61 74 69 | 6f 6e 2c 20 49 6e 63 2e |Foundati|on, Inc.|
|00000100| 0d 0d 3b 3b 20 54 68 69 | 73 20 66 69 6c 65 20 69 |..;; Thi|s file i|
|00000110| 73 20 70 61 72 74 20 6f | 66 20 47 4e 55 20 43 43 |s part o|f GNU CC|
|00000120| 2e 0d 0d 3b 3b 20 47 4e | 55 20 43 43 20 69 73 20 |...;; GN|U CC is |
|00000130| 66 72 65 65 20 73 6f 66 | 74 77 61 72 65 3b 20 79 |free sof|tware; y|
|00000140| 6f 75 20 63 61 6e 20 72 | 65 64 69 73 74 72 69 62 |ou can r|edistrib|
|00000150| 75 74 65 20 69 74 20 61 | 6e 64 2f 6f 72 20 6d 6f |ute it a|nd/or mo|
|00000160| 64 69 66 79 0d 3b 3b 20 | 69 74 20 75 6e 64 65 72 |dify.;; |it under|
|00000170| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 20 74 68 | the ter|ms of th|
|00000180| 65 20 47 4e 55 20 47 65 | 6e 65 72 61 6c 20 50 75 |e GNU Ge|neral Pu|
|00000190| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 61 73 20 |blic Lic|ense as |
|000001a0| 70 75 62 6c 69 73 68 65 | 64 20 62 79 0d 3b 3b 20 |publishe|d by.;; |
|000001b0| 74 68 65 20 46 72 65 65 | 20 53 6f 66 74 77 61 72 |the Free| Softwar|
|000001c0| 65 20 46 6f 75 6e 64 61 | 74 69 6f 6e 3b 20 65 69 |e Founda|tion; ei|
|000001d0| 74 68 65 72 20 76 65 72 | 73 69 6f 6e 20 31 2c 20 |ther ver|sion 1, |
|000001e0| 6f 72 20 28 61 74 20 79 | 6f 75 72 20 6f 70 74 69 |or (at y|our opti|
|000001f0| 6f 6e 29 0d 3b 3b 20 61 | 6e 79 20 6c 61 74 65 72 |on).;; a|ny later|
|00000200| 20 76 65 72 73 69 6f 6e | 2e 0d 0d 3b 3b 20 47 4e | version|...;; GN|
|00000210| 55 20 43 43 20 69 73 20 | 64 69 73 74 72 69 62 75 |U CC is |distribu|
|00000220| 74 65 64 20 69 6e 20 74 | 68 65 20 68 6f 70 65 20 |ted in t|he hope |
|00000230| 74 68 61 74 20 69 74 20 | 77 69 6c 6c 20 62 65 20 |that it |will be |
|00000240| 75 73 65 66 75 6c 2c 0d | 3b 3b 20 62 75 74 20 57 |useful,.|;; but W|
|00000250| 49 54 48 4f 55 54 20 41 | 4e 59 20 57 41 52 52 41 |ITHOUT A|NY WARRA|
|00000260| 4e 54 59 3b 20 77 69 74 | 68 6f 75 74 20 65 76 65 |NTY; wit|hout eve|
|00000270| 6e 20 74 68 65 20 69 6d | 70 6c 69 65 64 20 77 61 |n the im|plied wa|
|00000280| 72 72 61 6e 74 79 20 6f | 66 0d 3b 3b 20 4d 45 52 |rranty o|f.;; MER|
|00000290| 43 48 41 4e 54 41 42 49 | 4c 49 54 59 20 6f 72 20 |CHANTABI|LITY or |
|000002a0| 46 49 54 4e 45 53 53 20 | 46 4f 52 20 41 20 50 41 |FITNESS |FOR A PA|
|000002b0| 52 54 49 43 55 4c 41 52 | 20 50 55 52 50 4f 53 45 |RTICULAR| PURPOSE|
|000002c0| 2e 20 20 53 65 65 20 74 | 68 65 0d 3b 3b 20 47 4e |. See t|he.;; GN|
|000002d0| 55 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |U Genera|l Public|
|000002e0| 20 4c 69 63 65 6e 73 65 | 20 66 6f 72 20 6d 6f 72 | License| for mor|
|000002f0| 65 20 64 65 74 61 69 6c | 73 2e 0d 0d 3b 3b 20 59 |e detail|s...;; Y|
|00000300| 6f 75 20 73 68 6f 75 6c | 64 20 68 61 76 65 20 72 |ou shoul|d have r|
|00000310| 65 63 65 69 76 65 64 20 | 61 20 63 6f 70 79 20 6f |eceived |a copy o|
|00000320| 66 20 74 68 65 20 47 4e | 55 20 47 65 6e 65 72 61 |f the GN|U Genera|
|00000330| 6c 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |l Public| License|
|00000340| 0d 3b 3b 20 61 6c 6f 6e | 67 20 77 69 74 68 20 47 |.;; alon|g with G|
|00000350| 4e 55 20 43 43 3b 20 73 | 65 65 20 74 68 65 20 66 |NU CC; s|ee the f|
|00000360| 69 6c 65 20 43 4f 50 59 | 49 4e 47 2e 20 20 49 66 |ile COPY|ING. If|
|00000370| 20 6e 6f 74 2c 20 77 72 | 69 74 65 20 74 6f 0d 3b | not, wr|ite to.;|
|00000380| 3b 20 74 68 65 20 46 72 | 65 65 20 53 6f 66 74 77 |; the Fr|ee Softw|
|00000390| 61 72 65 20 46 6f 75 6e | 64 61 74 69 6f 6e 2c 20 |are Foun|dation, |
|000003a0| 36 37 35 20 4d 61 73 73 | 20 41 76 65 2c 20 43 61 |675 Mass| Ave, Ca|
|000003b0| 6d 62 72 69 64 67 65 2c | 20 4d 41 20 30 32 31 33 |mbridge,| MA 0213|
|000003c0| 39 2c 20 55 53 41 2e 0d | 0d 0d 3b 3b 2d 20 69 6e |9, USA..|..;;- in|
|000003d0| 73 74 72 75 63 74 69 6f | 6e 20 64 65 66 69 6e 69 |structio|n defini|
|000003e0| 74 69 6f 6e 73 0d 0d 3b | 3b 2d 20 40 40 54 68 65 |tions..;|;- @@The|
|000003f0| 20 6f 72 69 67 69 6e 61 | 6c 20 50 4f 20 74 65 63 | origina|l PO tec|
|00000400| 68 6e 6f 6c 6f 67 79 20 | 72 65 71 75 69 72 65 73 |hnology |requires|
|00000410| 20 74 68 65 73 65 20 74 | 6f 20 62 65 20 6f 72 64 | these t|o be ord|
|00000420| 65 72 65 64 20 62 79 20 | 73 70 65 65 64 2c 0d 3b |ered by |speed,.;|
|00000430| 3b 2d 20 40 40 20 20 20 | 20 73 6f 20 74 68 61 74 |;- @@ | so that|
|00000440| 20 61 73 73 69 67 6e 65 | 72 20 77 69 6c 6c 20 70 | assigne|r will p|
|00000450| 69 63 6b 20 74 68 65 20 | 66 61 73 74 65 73 74 2e |ick the |fastest.|
|00000460| 0d 0d 3b 3b 2d 20 53 65 | 65 20 66 69 6c 65 20 22 |..;;- Se|e file "|
|00000470| 72 74 6c 2e 64 65 66 22 | 20 66 6f 72 20 64 6f 63 |rtl.def"| for doc|
|00000480| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 6f 6e 20 64 65 |umentati|on on de|
|00000490| 66 69 6e 65 5f 69 6e 73 | 6e 2c 20 6d 61 74 63 68 |fine_ins|n, match|
|000004a0| 5f 2a 2c 20 65 74 2e 20 | 61 6c 2e 0d 0d 3b 3b 2d |_*, et. |al...;;-|
|000004b0| 20 57 68 65 6e 20 6e 61 | 6d 69 6e 67 20 69 6e 73 | When na|ming ins|
|000004c0| 6e 27 73 20 28 6f 70 65 | 72 61 6e 64 20 30 20 6f |n's (ope|rand 0 o|
|000004d0| 66 20 64 65 66 69 6e 65 | 5f 69 6e 73 6e 29 20 62 |f define|_insn) b|
|000004e0| 65 20 63 61 72 65 66 75 | 6c 20 61 62 6f 75 74 20 |e carefu|l about |
|000004f0| 75 73 69 6e 67 0d 3b 3b | 2d 20 6e 61 6d 65 73 20 |using.;;|- names |
|00000500| 66 72 6f 6d 20 6f 74 68 | 65 72 20 74 61 72 67 65 |from oth|er targe|
|00000510| 74 73 20 6d 61 63 68 69 | 6e 65 20 64 65 73 63 72 |ts machi|ne descr|
|00000520| 69 70 74 69 6f 6e 73 2e | 0d 0d 3b 3b 2d 20 63 70 |iptions.|..;;- cp|
|00000530| 70 20 6d 61 63 72 6f 20 | 23 64 65 66 69 6e 65 20 |p macro |#define |
|00000540| 4e 4f 54 49 43 45 5f 55 | 50 44 41 54 45 5f 43 43 |NOTICE_U|PDATE_CC|
|00000550| 20 69 6e 20 66 69 6c 65 | 20 74 6d 2e 68 20 68 61 | in file| tm.h ha|
|00000560| 6e 64 6c 65 73 20 63 6f | 6e 64 69 74 69 6f 6e 20 |ndles co|ndition |
|00000570| 63 6f 64 65 0d 3b 3b 2d | 20 75 70 64 61 74 65 73 |code.;;-| updates|
|00000580| 20 66 6f 72 20 6d 6f 73 | 74 20 69 6e 73 74 72 75 | for mos|t instru|
|00000590| 63 74 69 6f 6e 73 2e 0d | 0d 3b 3b 2d 20 4f 70 65 |ctions..|.;;- Ope|
|000005a0| 72 61 6e 64 20 63 6c 61 | 73 73 65 73 20 66 6f 72 |rand cla|sses for|
|000005b0| 20 74 68 65 20 72 65 67 | 69 73 74 65 72 20 61 6c | the reg|ister al|
|000005c0| 6c 6f 63 61 74 6f 72 3a | 0d 3b 3b 2d 20 27 61 27 |locator:|.;;- 'a'|
|000005d0| 20 6f 6e 65 20 6f 66 20 | 74 68 65 20 61 64 64 72 | one of |the addr|
|000005e0| 65 73 73 20 72 65 67 69 | 73 74 65 72 73 20 63 61 |ess regi|sters ca|
|000005f0| 6e 20 62 65 20 75 73 65 | 64 2e 0d 3b 3b 2d 20 27 |n be use|d..;;- '|
|00000600| 64 27 20 6f 6e 65 20 6f | 66 20 74 68 65 20 64 61 |d' one o|f the da|
|00000610| 74 61 20 72 65 67 69 73 | 74 65 72 73 20 63 61 6e |ta regis|ters can|
|00000620| 20 62 65 20 75 73 65 64 | 2e 0d 3b 3b 2d 20 27 66 | be used|..;;- 'f|
|00000630| 27 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 6d 36 38 |' one of| the m68|
|00000640| 38 38 31 20 72 65 67 69 | 73 74 65 72 73 20 63 61 |881 regi|sters ca|
|00000650| 6e 20 62 65 20 75 73 65 | 64 0d 3b 3b 2d 20 27 72 |n be use|d.;;- 'r|
|00000660| 27 20 65 69 74 68 65 72 | 20 61 20 64 61 74 61 20 |' either| a data |
|00000670| 6f 72 20 61 6e 20 61 64 | 64 72 65 73 73 20 72 65 |or an ad|dress re|
|00000680| 67 69 73 74 65 72 20 63 | 61 6e 20 62 65 20 75 73 |gister c|an be us|
|00000690| 65 64 2e 0d 3b 3b 2d 20 | 27 78 27 20 69 66 20 6f |ed..;;- |'x' if o|
|000006a0| 6e 65 20 6f 66 20 74 68 | 65 20 53 75 6e 20 46 50 |ne of th|e Sun FP|
|000006b0| 41 20 72 65 67 69 73 74 | 65 72 73 20 20 20 20 20 |A regist|ers |
|000006c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 0d | | .|
|000006d0| 3b 3b 2d 20 27 79 27 20 | 69 66 20 6f 6e 65 20 6f |;;- 'y' |if one o|
|000006e0| 66 20 74 68 65 20 4c 6f | 77 20 53 75 6e 20 46 50 |f the Lo|w Sun FP|
|000006f0| 41 20 72 65 67 69 73 74 | 65 72 73 20 28 66 70 61 |A regist|ers (fpa|
|00000700| 30 2d 66 70 61 31 35 29 | 2e 0d 0d 3b 3b 2d 20 49 |0-fpa15)|...;;- I|
|00000710| 6d 6d 65 64 69 61 74 65 | 20 46 6c 6f 61 74 69 6e |mmediate| Floatin|
|00000720| 67 20 70 6f 69 6e 74 20 | 6f 70 65 72 61 74 6f 72 |g point |operator|
|00000730| 20 63 6f 6e 73 74 72 61 | 69 6e 74 73 0d 3b 3b 2d | constra|ints.;;-|
|00000740| 20 27 47 27 20 61 20 66 | 6c 6f 61 74 69 6e 67 20 | 'G' a f|loating |
|00000750| 70 6f 69 6e 74 20 63 6f | 6e 73 74 61 6e 74 20 74 |point co|nstant t|
|00000760| 68 61 74 20 69 73 20 2a | 4e 4f 54 2a 20 6f 6e 65 |hat is *|NOT* one|
|00000770| 20 6f 66 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 | of the |standard|
|00000780| 0d 3b 3b 20 20 20 36 38 | 38 38 31 20 63 6f 6e 73 |.;; 68|881 cons|
|00000790| 74 61 6e 74 20 76 61 6c | 75 65 73 20 28 74 6f 20 |tant val|ues (to |
|000007a0| 66 6f 72 63 65 20 63 61 | 6c 6c 69 6e 67 20 6f 75 |force ca|lling ou|
|000007b0| 74 70 75 74 5f 6d 6f 76 | 65 5f 63 6f 6e 73 74 5f |tput_mov|e_const_|
|000007c0| 64 6f 75 62 6c 65 0d 3b | 3b 20 20 20 74 6f 20 67 |double.;|; to g|
|000007d0| 65 74 20 69 74 20 66 72 | 6f 6d 20 72 6f 6d 20 69 |et it fr|om rom i|
|000007e0| 66 20 69 74 20 69 73 20 | 61 20 36 38 38 38 31 20 |f it is |a 68881 |
|000007f0| 63 6f 6e 73 74 61 6e 74 | 29 2e 0d 3b 3b 2d 20 27 |constant|)..;;- '|
|00000800| 48 27 20 6f 6e 65 20 6f | 66 20 74 68 65 20 73 74 |H' one o|f the st|
|00000810| 61 6e 64 61 72 64 20 46 | 50 41 20 63 6f 6e 73 74 |andard F|PA const|
|00000820| 61 6e 74 20 76 61 6c 75 | 65 73 0d 3b 3b 0d 3b 3b |ant valu|es.;;.;;|
|00000830| 20 20 20 53 65 65 20 74 | 68 65 20 66 75 6e 63 74 | See t|he funct|
|00000840| 69 6f 6e 73 20 73 74 61 | 6e 64 61 72 64 5f 58 58 |ions sta|ndard_XX|
|00000850| 58 5f 63 6f 6e 73 74 61 | 6e 74 5f 70 20 69 6e 20 |X_consta|nt_p in |
|00000860| 6f 75 74 70 75 74 2d 6d | 36 38 6b 2e 63 20 66 6f |output-m|68k.c fo|
|00000870| 72 20 6d 6f 72 65 0d 3b | 3b 20 69 6e 66 6f 2e 0d |r more.;|; info..|
|00000880| 0d 3b 3b 2d 20 49 6d 6d | 65 64 69 61 74 65 20 69 |.;;- Imm|ediate i|
|00000890| 6e 74 65 67 65 72 20 6f | 70 65 72 61 6e 64 20 63 |nteger o|perand c|
|000008a0| 6f 6e 73 74 72 61 69 6e | 74 73 3a 0d 3b 3b 2d 20 |onstrain|ts:.;;- |
|000008b0| 27 49 27 20 20 31 20 2e | 2e 20 38 0d 3b 3b 2d 20 |'I' 1 .|. 8.;;- |
|000008c0| 27 4a 27 20 20 2d 33 32 | 37 36 38 20 2e 2e 20 33 |'J' -32|768 .. 3|
|000008d0| 32 37 36 37 0d 3b 3b 2d | 20 27 4b 27 20 20 2d 31 |2767.;;-| 'K' -1|
|000008e0| 32 38 20 2e 2e 20 31 32 | 37 0d 3b 3b 2d 20 27 4c |28 .. 12|7.;;- 'L|
|000008f0| 27 20 20 2d 38 20 2e 2e | 20 2d 31 0d 0d 3b 3b 2d |' -8 ..| -1..;;-|
|00000900| 20 09 09 46 50 41 20 70 | 6f 72 74 20 65 78 70 6c | ..FPA p|ort expl|
|00000910| 61 6e 61 74 69 6f 6e 3a | 0d 0d 3b 3b 2d 09 09 55 |anation:|..;;-..U|
|00000920| 73 61 67 65 20 6f 66 20 | 74 68 65 20 53 75 6e 20 |sage of |the Sun |
|00000930| 46 50 41 20 61 6e 64 20 | 74 68 65 20 36 38 38 38 |FPA and |the 6888|
|00000940| 31 20 74 6f 67 65 74 68 | 65 72 0d 0d 3b 3b 2d 20 |1 togeth|er..;;- |
|00000950| 54 68 65 20 63 75 72 72 | 65 6e 74 20 70 6f 72 74 |The curr|ent port|
|00000960| 20 6f 66 20 67 63 63 20 | 74 6f 20 74 68 65 20 73 | of gcc |to the s|
|00000970| 75 6e 20 66 70 61 20 64 | 69 73 61 6c 6c 6f 77 73 |un fpa d|isallows|
|00000980| 20 75 73 65 20 6f 66 20 | 74 68 65 20 6d 36 38 38 | use of |the m688|
|00000990| 38 31 0d 3b 3b 2d 20 69 | 6e 73 74 72 75 63 74 69 |81.;;- i|nstructi|
|000009a0| 6f 6e 73 20 63 6f 6d 70 | 6c 65 74 65 6c 79 20 69 |ons comp|letely i|
|000009b0| 66 20 63 6f 64 65 20 69 | 73 20 74 61 72 67 65 74 |f code i|s target|
|000009c0| 74 65 64 20 66 6f 72 20 | 74 68 65 20 66 70 61 2e |ted for |the fpa.|
|000009d0| 20 20 54 68 69 73 20 69 | 73 0d 3b 3b 2d 20 66 6f | This i|s.;;- fo|
|000009e0| 72 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |r the fo|llowing |
|000009f0| 72 65 61 73 6f 6e 73 3a | 0d 0d 3b 3b 2d 20 31 29 |reasons:|..;;- 1)|
|00000a00| 20 45 78 70 72 65 73 73 | 69 6e 67 20 74 68 65 20 | Express|ing the |
|00000a10| 70 72 65 66 65 72 65 6e | 63 65 20 68 69 65 72 61 |preferen|ce hiera|
|00000a20| 72 63 68 79 20 28 69 65 | 2e 20 75 73 65 20 74 68 |rchy (ie|. use th|
|00000a30| 65 20 66 70 61 20 69 66 | 20 79 6f 75 0d 3b 3b 2d |e fpa if| you.;;-|
|00000a40| 20 63 61 6e 2c 20 74 68 | 65 20 36 38 38 38 31 20 | can, th|e 68881 |
|00000a50| 6f 74 68 65 72 77 69 73 | 65 2c 20 61 6e 64 20 64 |otherwis|e, and d|
|00000a60| 61 74 61 20 72 65 67 69 | 73 74 65 72 73 20 6f 6e |ata regi|sters on|
|00000a70| 6c 79 20 69 66 20 79 6f | 75 20 61 72 65 0d 3b 3b |ly if yo|u are.;;|
|00000a80| 2d 20 66 6f 72 63 65 64 | 20 74 6f 20 69 74 29 20 |- forced| to it) |
|00000a90| 69 73 20 61 20 62 69 74 | 63 68 20 77 69 74 68 20 |is a bit|ch with |
|00000aa0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 63 6f 6e 73 |the curr|ent cons|
|00000ab0| 74 72 61 69 6e 74 20 73 | 63 68 65 6d 65 2c 0d 3b |traint s|cheme,.;|
|00000ac0| 3b 2d 20 65 73 70 65 63 | 69 61 6c 6c 79 20 73 69 |;- espec|ially si|
|00000ad0| 6e 63 65 20 69 74 20 77 | 6f 75 6c 64 20 68 61 76 |nce it w|ould hav|
|00000ae0| 65 20 74 6f 20 77 6f 72 | 6b 20 66 6f 72 20 61 6e |e to wor|k for an|
|00000af0| 79 20 63 6f 6d 62 69 6e | 61 74 69 6f 6e 20 6f 66 |y combin|ation of|
|00000b00| 0d 3b 3b 2d 20 2d 6d 66 | 70 61 2c 20 2d 6d 36 38 |.;;- -mf|pa, -m68|
|00000b10| 38 38 31 2e 0d 0d 3b 3b | 2d 20 32 29 20 54 68 65 |881...;;|- 2) The|
|00000b20| 72 65 20 61 72 65 20 6e | 6f 20 69 6e 73 74 72 75 |re are n|o instru|
|00000b30| 63 74 69 6f 6e 73 20 74 | 6f 20 6d 6f 76 65 20 62 |ctions t|o move b|
|00000b40| 65 74 77 65 65 6e 20 74 | 68 65 20 74 77 6f 20 74 |etween t|he two t|
|00000b50| 79 70 65 73 20 6f 66 0d | 3b 3b 2d 20 72 65 67 69 |ypes of.|;;- regi|
|00000b60| 73 74 65 72 73 3b 20 74 | 68 65 20 73 74 61 63 6b |sters; t|he stack|
|00000b70| 20 6d 75 73 74 20 62 65 | 20 75 73 65 64 20 61 73 | must be| used as|
|00000b80| 20 61 6e 20 69 6e 74 65 | 72 6d 65 64 69 61 72 79 | an inte|rmediary|
|00000b90| 2e 0d 0d 3b 3b 2d 20 49 | 74 20 63 6f 75 6c 64 20 |...;;- I|t could |
|00000ba0| 69 6e 64 65 65 64 20 62 | 65 20 64 6f 6e 65 3b 20 |indeed b|e done; |
|00000bb0| 49 20 74 68 69 6e 6b 20 | 74 68 65 20 62 65 73 74 |I think |the best|
|00000bc0| 20 77 61 79 20 77 6f 75 | 6c 64 20 62 65 20 74 6f | way wou|ld be to|
|00000bd0| 20 68 61 76 65 0d 3b 3b | 2d 20 73 65 70 65 72 61 | have.;;|- sepera|
|00000be0| 74 65 20 70 61 74 74 65 | 72 6e 73 20 66 6f 72 20 |te patte|rns for |
|00000bf0| 54 41 52 47 45 54 5f 46 | 50 41 20 28 77 68 69 63 |TARGET_F|PA (whic|
|00000c00| 68 20 69 6d 70 6c 69 65 | 73 20 61 20 36 38 38 38 |h implie|s a 6888|
|00000c10| 31 29 2c 0d 3b 3b 2d 20 | 54 41 52 47 45 54 5f 36 |1),.;;- |TARGET_6|
|00000c20| 38 38 38 31 2c 20 61 6e | 64 20 6e 6f 20 66 6c 6f |8881, an|d no flo|
|00000c30| 61 74 69 6e 67 20 70 6f | 69 6e 74 20 63 6f 2d 70 |ating po|int co-p|
|00000c40| 72 6f 63 65 73 73 6f 72 | 2e 20 20 55 73 65 0d 3b |rocessor|. Use.;|
|00000c50| 3b 2d 20 64 65 66 69 6e | 65 5f 65 78 70 61 6e 64 |;- defin|e_expand|
|00000c60| 73 20 66 6f 72 20 61 6c | 6c 20 6f 66 20 74 68 65 |s for al|l of the|
|00000c70| 20 6e 61 6d 65 64 20 69 | 6e 73 74 72 75 63 74 69 | named i|nstructi|
|00000c80| 6f 6e 20 70 61 74 74 65 | 72 6e 73 2c 20 61 6e 64 |on patte|rns, and|
|00000c90| 0d 3b 3b 2d 20 69 6e 63 | 6c 75 64 65 20 63 6f 64 |.;;- inc|lude cod|
|00000ca0| 65 20 69 6e 20 74 68 65 | 20 46 50 41 20 69 6e 73 |e in the| FPA ins|
|00000cb0| 74 72 75 63 74 69 6f 6e | 20 74 6f 20 64 65 61 6c |truction| to deal|
|00000cc0| 20 77 69 74 68 20 74 68 | 65 20 36 38 38 38 31 20 | with th|e 68881 |
|00000cd0| 77 69 74 68 0d 3b 3b 2d | 20 70 72 65 66 65 72 65 |with.;;-| prefere|
|00000ce0| 6e 63 65 73 20 73 70 65 | 63 69 66 69 63 61 6c 6c |nces spe|cificall|
|00000cf0| 79 20 73 65 74 20 74 6f | 20 66 61 76 6f 72 20 74 |y set to| favor t|
|00000d00| 68 65 20 66 70 61 2e 20 | 20 53 6f 6d 65 20 6f 66 |he fpa. | Some of|
|00000d10| 20 74 68 69 73 20 68 61 | 73 0d 3b 3b 2d 20 61 6c | this ha|s.;;- al|
|00000d20| 72 65 61 64 79 20 62 65 | 65 6e 20 64 6f 6e 65 3a |ready be|en done:|
|00000d30| 0d 3b 3b 2d 0d 3b 3b 2d | 20 09 31 29 20 53 65 70 |.;;-.;;-| .1) Sep|
|00000d40| 61 72 61 74 69 6f 6e 20 | 6f 66 20 6d 6f 73 74 20 |aration |of most |
|00000d50| 6f 66 20 74 68 65 20 70 | 61 74 74 65 72 6e 73 20 |of the p|atterns |
|00000d60| 6f 75 74 20 69 6e 74 6f | 20 61 20 54 41 52 47 45 |out into| a TARGE|
|00000d70| 54 5f 46 50 41 0d 3b 3b | 2d 20 63 61 73 65 20 61 |T_FPA.;;|- case a|
|00000d80| 6e 64 20 61 20 54 41 52 | 47 45 54 5f 36 38 38 38 |nd a TAR|GET_6888|
|00000d90| 31 20 63 61 73 65 20 28 | 74 68 65 20 65 78 63 65 |1 case (|the exce|
|00000da0| 70 74 69 6f 6e 73 20 61 | 72 65 20 74 68 65 20 70 |ptions a|re the p|
|00000db0| 61 74 74 65 72 6e 73 0d | 3b 3b 2d 20 77 68 69 63 |atterns.|;;- whic|
|00000dc0| 68 20 77 6f 75 6c 64 20 | 6e 65 65 64 20 6f 6e 65 |h would |need one|
|00000dd0| 20 64 65 66 69 6e 65 5f | 65 78 70 61 6e 64 20 61 | define_|expand a|
|00000de0| 6e 64 20 74 68 72 65 65 | 20 64 65 66 69 6e 65 5f |nd three| define_|
|00000df0| 69 6e 73 6e 27 73 20 75 | 6e 64 65 72 0d 3b 3b 2d |insn's u|nder.;;-|
|00000e00| 20 69 74 20 28 77 69 74 | 68 20 61 6c 6f 74 20 6f | it (wit|h alot o|
|00000e10| 66 20 64 75 70 6c 69 63 | 61 74 65 20 63 6f 64 65 |f duplic|ate code|
|00000e20| 20 62 65 74 77 65 65 6e | 20 74 68 65 6d 29 20 74 | between| them) t|
|00000e30| 6f 20 72 65 70 6c 61 63 | 65 20 74 68 65 0d 3b 3b |o replac|e the.;;|
|00000e40| 2d 20 63 75 72 72 65 6e | 74 20 73 69 6e 67 6c 65 |- curren|t single|
|00000e50| 20 64 65 66 69 6e 65 5f | 69 6e 73 6e 2e 20 20 54 | define_|insn. T|
|00000e60| 68 65 73 65 20 61 72 65 | 20 6d 6f 76 7b 5b 64 73 |hese are| mov{[ds|
|00000e70| 5d 66 2c 5b 64 73 5d 69 | 7d 20 61 6e 64 20 74 68 |]f,[ds]i|} and th|
|00000e80| 65 0d 3b 3b 2d 20 66 69 | 72 73 74 20 74 77 6f 20 |e.;;- fi|rst two |
|00000e90| 70 61 74 74 65 72 6e 73 | 20 69 6e 20 74 68 65 20 |patterns| in the |
|00000ea0| 6d 64 2e 0d 3b 3b 2d 0d | 3b 3b 2d 20 53 6f 6d 65 |md..;;-.|;;- Some|
|00000eb0| 20 77 6f 75 6c 64 20 73 | 74 69 6c 6c 20 68 61 76 | would s|till hav|
|00000ec0| 65 20 74 6f 20 62 65 20 | 64 6f 6e 65 3a 0d 3b 3b |e to be |done:.;;|
|00000ed0| 2d 0d 3b 3b 2d 09 31 29 | 20 41 64 64 20 63 6f 64 |-.;;-.1)| Add cod|
|00000ee0| 65 20 74 6f 20 74 68 65 | 20 66 70 61 20 70 61 74 |e to the| fpa pat|
|00000ef0| 74 65 72 6e 73 20 77 68 | 69 63 68 20 63 6f 72 72 |terns wh|ich corr|
|00000f00| 65 73 70 6f 6e 64 20 74 | 6f 20 36 38 38 38 31 0d |espond t|o 68881.|
|00000f10| 3b 3b 2d 20 70 61 74 74 | 65 72 6e 73 20 74 6f 20 |;;- patt|erns to |
|00000f20| 64 65 61 6c 20 77 69 74 | 68 20 74 68 65 20 36 38 |deal wit|h the 68|
|00000f30| 38 38 31 20 63 61 73 65 | 20 28 69 6e 63 6c 75 64 |881 case| (includ|
|00000f40| 69 6e 67 20 70 72 65 66 | 65 72 65 6e 63 65 73 21 |ing pref|erences!|
|00000f50| 29 2e 0d 3b 3b 2d 20 57 | 68 61 74 20 79 6f 75 20 |)..;;- W|hat you |
|00000f60| 6d 69 67 68 74 20 61 63 | 74 75 61 6c 6c 79 20 64 |might ac|tually d|
|00000f70| 6f 20 68 65 72 65 20 69 | 73 20 63 6f 6d 62 69 6e |o here i|s combin|
|00000f80| 65 20 74 68 65 20 66 70 | 61 20 61 6e 64 20 36 38 |e the fp|a and 68|
|00000f90| 38 38 31 20 63 6f 64 65 | 0d 3b 3b 2d 20 62 61 63 |881 code|.;;- bac|
|00000fa0| 6b 20 74 6f 67 65 74 68 | 65 72 20 69 6e 74 6f 20 |k togeth|er into |
|00000fb0| 6f 6e 65 20 70 61 74 74 | 65 72 6e 20 66 6f 72 20 |one patt|ern for |
|00000fc0| 74 68 6f 73 65 20 69 6e | 73 74 72 75 63 74 69 6f |those in|structio|
|00000fd0| 6e 73 20 77 68 65 72 65 | 20 69 74 27 73 0d 3b 3b |ns where| it's.;;|
|00000fe0| 2d 20 61 62 73 6f 6c 75 | 74 65 6c 79 20 6e 65 63 |- absolu|tely nec|
|00000ff0| 65 73 73 61 72 79 20 61 | 6e 64 20 73 61 76 65 20 |essary a|nd save |
|00001000| 79 6f 75 72 73 65 6c 66 | 20 73 6f 6d 65 20 64 75 |yourself| some du|
|00001010| 70 6c 69 63 61 74 65 20 | 63 6f 64 65 2e 20 20 49 |plicate |code. I|
|00001020| 27 6d 0d 3b 3b 2d 20 6e | 6f 74 20 63 6f 6d 70 6c |'m.;;- n|ot compl|
|00001030| 65 74 65 6c 79 20 73 75 | 72 65 20 61 73 20 74 6f |etely su|re as to|
|00001040| 20 77 68 65 74 68 65 72 | 20 79 6f 75 20 63 6f 75 | whether| you cou|
|00001050| 6c 64 20 67 65 74 20 61 | 77 61 79 20 77 69 74 68 |ld get a|way with|
|00001060| 20 64 6f 69 6e 67 0d 3b | 3b 2d 20 74 68 69 73 20 | doing.;|;- this |
|00001070| 6f 6e 6c 79 20 66 6f 72 | 20 74 68 65 20 6d 6f 76 |only for| the mov|
|00001080| 2a 20 69 6e 73 6e 73 2c | 20 6f 72 20 69 66 20 79 |* insns,| or if y|
|00001090| 6f 75 27 64 20 68 61 76 | 65 20 74 6f 20 64 6f 20 |ou'd hav|e to do |
|000010a0| 69 74 20 66 6f 72 20 61 | 6c 6c 0d 3b 3b 2d 20 6e |it for a|ll.;;- n|
|000010b0| 61 6d 65 64 20 69 6e 73 | 6e 73 2e 0d 3b 3b 2d 20 |amed ins|ns..;;- |
|000010c0| 09 32 29 20 41 64 64 20 | 63 6f 64 65 20 74 6f 20 |.2) Add |code to |
|000010d0| 74 68 65 20 6d 6f 76 7b | 5b 64 73 5d 66 2c 5b 64 |the mov{|[ds]f,[d|
|000010e0| 73 5d 69 7d 20 69 6e 73 | 74 72 75 63 74 69 6f 6e |s]i} ins|truction|
|000010f0| 73 20 74 6f 20 68 61 6e | 64 6c 65 0d 3b 3b 2d 20 |s to han|dle.;;- |
|00001100| 6d 6f 76 69 6e 67 20 62 | 65 74 77 65 65 6e 20 66 |moving b|etween f|
|00001110| 70 61 20 72 65 67 73 20 | 61 6e 64 20 36 38 38 38 |pa regs |and 6888|
|00001120| 31 20 72 65 67 73 2e 0d | 0d 3b 3b 2d 20 53 69 6e |1 regs..|.;;- Sin|
|00001130| 63 65 20 74 68 65 20 66 | 70 61 20 69 73 20 6d 6f |ce the f|pa is mo|
|00001140| 72 65 20 70 6f 77 65 72 | 66 75 6c 20 74 68 61 6e |re power|ful than|
|00001150| 20 74 68 65 20 36 38 38 | 38 31 20 61 6e 64 20 61 | the 688|81 and a|
|00001160| 6c 73 6f 20 68 61 73 20 | 6d 6f 72 65 0d 3b 3b 2d |lso has |more.;;-|
|00001170| 20 72 65 67 69 73 74 65 | 72 73 2c 20 61 6e 64 20 | registe|rs, and |
|00001180| 73 69 6e 63 65 20 49 20 | 74 68 69 6e 6b 20 74 68 |since I |think th|
|00001190| 65 20 72 65 75 6c 74 61 | 6e 74 20 6d 64 20 77 6f |e reulta|nt md wo|
|000011a0| 75 6c 64 20 62 65 20 6d | 65 64 69 75 6d 20 75 67 |uld be m|edium ug|
|000011b0| 6c 79 0d 3b 3b 2d 20 28 | 6c 6f 74 27 73 20 6f 66 |ly.;;- (|lot's of|
|000011c0| 20 64 75 70 6c 69 63 61 | 74 65 20 63 6f 64 65 2c | duplica|te code,|
|000011d0| 20 75 67 6c 79 20 63 6f | 6e 73 74 72 61 69 6e 74 | ugly co|nstraint|
|000011e0| 20 73 74 72 69 6e 67 73 | 29 2c 20 49 20 65 6c 65 | strings|), I ele|
|000011f0| 63 74 65 64 20 6e 6f 74 | 0d 3b 3b 2d 20 74 6f 20 |cted not|.;;- to |
|00001200| 64 6f 20 74 68 69 73 20 | 63 68 61 6e 67 65 2e 0d |do this |change..|
|00001210| 0d 3b 3b 2d 20 41 6e 6f | 74 68 65 72 20 72 65 61 |.;;- Ano|ther rea|
|00001220| 73 6f 6e 20 77 68 79 20 | 73 6f 6d 65 6f 6e 65 20 |son why |someone |
|00001230| 2a 6d 69 67 68 74 2a 20 | 77 61 6e 74 20 74 6f 20 |*might* |want to |
|00001240| 64 6f 20 74 68 65 20 63 | 68 61 6e 67 65 20 69 73 |do the c|hange is|
|00001250| 20 74 6f 0d 3b 3b 2d 20 | 63 6f 6e 74 72 6f 6c 20 | to.;;- |control |
|00001260| 77 68 69 63 68 20 72 65 | 67 69 73 74 65 72 20 63 |which re|gister c|
|00001270| 6c 61 73 73 65 73 20 61 | 72 65 20 61 63 63 65 73 |lasses a|re acces|
|00001280| 73 65 64 20 69 6e 20 61 | 20 73 6c 69 67 68 74 6c |sed in a| slightl|
|00001290| 79 20 63 6c 65 61 6e 65 | 72 0d 3b 3b 2d 20 77 61 |y cleane|r.;;- wa|
|000012a0| 79 20 74 68 61 6e 20 49 | 20 68 61 76 65 2e 20 20 |y than I| have. |
|000012b0| 53 65 65 20 74 68 65 20 | 62 6c 75 72 62 20 6f 6e |See the |blurb on|
|000012c0| 20 43 4f 4e 44 49 54 49 | 4f 4e 41 4c 5f 52 45 47 | CONDITI|ONAL_REG|
|000012d0| 49 53 54 45 52 5f 55 53 | 41 47 45 20 69 6e 0d 3b |ISTER_US|AGE in.;|
|000012e0| 3b 2d 20 74 68 65 20 69 | 6e 74 65 72 6e 61 6c 73 |;- the i|nternals|
|000012f0| 20 6d 61 6e 75 61 6c 2e | 0d 0d 3b 3b 2d 20 59 65 | manual.|..;;- Ye|
|00001300| 74 20 61 6e 6f 74 68 65 | 72 20 72 65 61 73 6f 6e |t anothe|r reason|
|00001310| 20 77 68 79 20 73 6f 6d | 65 6f 6e 65 20 6d 69 67 | why som|eone mig|
|00001320| 68 74 20 77 61 6e 74 20 | 74 6f 20 64 6f 20 74 68 |ht want |to do th|
|00001330| 69 73 20 63 68 61 6e 67 | 65 20 69 73 20 74 6f 0d |is chang|e is to.|
|00001340| 3b 3b 2d 20 61 6c 6c 6f | 77 20 75 73 65 20 6f 66 |;;- allo|w use of|
|00001350| 20 73 6f 6d 65 20 6f 66 | 20 74 68 65 20 36 38 38 | some of| the 688|
|00001360| 38 31 20 69 6e 73 6e 73 | 20 77 68 69 63 68 20 68 |81 insns| which h|
|00001370| 61 76 65 20 6e 6f 20 65 | 71 75 69 76 61 6c 65 6e |ave no e|quivalen|
|00001380| 74 20 6f 6e 0d 3b 3b 2d | 20 74 68 65 20 66 70 61 |t on.;;-| the fpa|
|00001390| 2e 20 20 54 68 65 20 73 | 71 72 74 20 69 6e 73 74 |. The s|qrt inst|
|000013a0| 72 75 63 74 69 6f 6e 20 | 63 6f 6d 65 73 20 66 61 |ruction |comes fa|
|000013b0| 69 72 6c 79 20 71 75 69 | 63 6b 6c 79 20 74 6f 20 |irly qui|ckly to |
|000013c0| 6d 69 6e 64 2e 0d 0d 3b | 3b 2d 20 49 66 20 74 68 |mind...;|;- If th|
|000013d0| 69 73 20 69 73 20 65 76 | 65 72 20 64 6f 6e 65 2c |is is ev|er done,|
|000013e0| 20 64 6f 6e 27 74 20 66 | 6f 72 67 65 74 20 74 6f | don't f|orget to|
|000013f0| 20 63 68 61 6e 67 65 20 | 74 6d 2d 73 75 6e 33 2e | change |tm-sun3.|
|00001400| 68 20 73 6f 20 74 68 61 | 74 0d 3b 3b 2d 20 69 74 |h so tha|t.;;- it|
|00001410| 20 2a 77 69 6c 6c 2a 20 | 64 65 66 69 6e 65 20 5f | *will* |define _|
|00001420| 5f 48 41 56 45 5f 36 38 | 38 38 31 5f 5f 20 77 68 |_HAVE_68|881__ wh|
|00001430| 65 6e 20 74 68 65 20 46 | 50 41 20 69 73 20 69 6e |en the F|PA is in|
|00001440| 20 75 73 65 2e 0d 0d 3b | 3b 2d 09 09 43 6f 6e 64 | use...;|;-..Cond|
|00001450| 69 74 69 6f 6e 20 63 6f | 64 65 20 68 61 63 6b 0d |ition co|de hack.|
|00001460| 0d 3b 3b 2d 20 57 68 65 | 6e 20 61 20 66 6c 6f 61 |.;;- Whe|n a floa|
|00001470| 74 69 6e 67 20 70 6f 69 | 6e 74 20 63 6f 6d 70 61 |ting poi|nt compa|
|00001480| 72 65 20 69 73 20 64 6f | 6e 65 20 69 6e 20 74 68 |re is do|ne in th|
|00001490| 65 20 66 70 61 2c 20 74 | 68 65 20 72 65 73 75 6c |e fpa, t|he resul|
|000014a0| 74 69 6e 67 0d 3b 3b 2d | 20 63 6f 6e 64 69 74 69 |ting.;;-| conditi|
|000014b0| 6f 6e 20 63 6f 64 65 73 | 20 61 72 65 20 6c 65 66 |on codes| are lef|
|000014c0| 74 20 69 6e 20 74 68 65 | 20 66 70 61 73 74 61 74 |t in the| fpastat|
|000014d0| 75 73 20 72 65 67 69 73 | 74 65 72 2e 20 20 54 68 |us regis|ter. Th|
|000014e0| 65 20 76 61 6c 75 65 73 | 20 69 6e 0d 3b 3b 2d 20 |e values| in.;;- |
|000014f0| 74 68 69 73 20 72 65 67 | 69 73 74 65 72 20 6d 75 |this reg|ister mu|
|00001500| 73 74 20 62 65 20 6d 6f | 76 65 64 20 69 6e 74 6f |st be mo|ved into|
|00001510| 20 74 68 65 20 36 38 30 | 30 30 20 63 63 20 72 65 | the 680|00 cc re|
|00001520| 67 69 73 74 65 72 20 62 | 65 66 6f 72 65 20 61 6e |gister b|efore an|
|00001530| 79 0d 3b 3b 2d 20 6a 75 | 6d 70 20 69 73 20 65 78 |y.;;- ju|mp is ex|
|00001540| 65 63 75 74 65 64 2e 20 | 20 4f 6e 63 65 20 74 68 |ecuted. | Once th|
|00001550| 69 73 20 68 61 73 20 62 | 65 65 6e 20 64 6f 6e 65 |is has b|een done|
|00001560| 2c 20 72 65 67 75 6c 61 | 72 20 6a 75 6d 70 0d 3b |, regula|r jump.;|
|00001570| 3b 2d 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 20 |;- instr|uctions |
|00001580| 61 72 65 20 66 69 6e 65 | 20 28 69 65 2e 20 66 6c |are fine| (ie. fl|
|00001590| 6f 61 74 69 6e 67 20 70 | 6f 69 6e 74 20 6a 75 6d |oating p|oint jum|
|000015a0| 70 73 20 61 72 65 20 6e | 6f 74 20 6e 65 63 65 73 |ps are n|ot neces|
|000015b0| 73 61 72 79 2e 0d 3b 3b | 2d 20 54 68 65 79 20 61 |sary..;;|- They a|
|000015c0| 72 65 20 6f 6e 6c 79 20 | 64 6f 6e 65 20 69 66 20 |re only |done if |
|000015d0| 74 68 65 20 63 63 20 69 | 73 20 69 6e 20 74 68 65 |the cc i|s in the|
|000015e0| 20 36 38 38 38 31 29 2e | 0d 0d 3b 3b 2d 20 54 68 | 68881).|..;;- Th|
|000015f0| 65 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 73 20 74 |e instru|ctions t|
|00001600| 68 61 74 20 6d 6f 76 65 | 20 74 68 65 20 66 70 61 |hat move| the fpa|
|00001610| 73 74 61 74 75 73 20 72 | 65 67 69 73 74 65 72 20 |status r|egister |
|00001620| 74 6f 20 74 68 65 20 36 | 38 30 30 30 0d 3b 3b 2d |to the 6|8000.;;-|
|00001630| 20 72 65 67 69 73 74 65 | 72 20 63 6c 6f 62 62 65 | registe|r clobbe|
|00001640| 72 20 61 20 64 61 74 61 | 20 72 65 67 69 73 74 65 |r a data| registe|
|00001650| 72 20 28 74 68 65 20 6d | 6f 76 65 20 63 61 6e 6e |r (the m|ove cann|
|00001660| 6f 74 20 62 65 20 64 6f | 6e 65 20 64 69 72 65 63 |ot be do|ne direc|
|00001670| 74 29 2e 0d 3b 3b 2d 20 | 54 68 65 73 65 20 69 6e |t)..;;- |These in|
|00001680| 73 74 72 75 63 74 69 6f | 6e 73 20 6d 69 67 68 74 |structio|ns might|
|00001690| 20 62 65 20 62 75 6e 64 | 6c 65 64 20 65 69 74 68 | be bund|led eith|
|000016a0| 65 72 20 77 69 74 68 20 | 74 68 65 20 63 6f 6d 70 |er with |the comp|
|000016b0| 61 72 65 0d 3b 3b 2d 20 | 69 6e 73 74 72 75 63 74 |are.;;- |instruct|
|000016c0| 69 6f 6e 2c 20 6f 72 20 | 74 68 65 20 62 72 61 6e |ion, or |the bran|
|000016d0| 63 68 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 2e 20 |ch instr|uction. |
|000016e0| 20 49 66 20 77 65 20 77 | 65 72 65 20 75 73 69 6e | If we w|ere usin|
|000016f0| 67 20 62 6f 74 68 20 74 | 68 65 0d 3b 3b 2d 20 66 |g both t|he.;;- f|
|00001700| 70 61 20 61 6e 64 20 74 | 68 65 20 36 38 38 38 31 |pa and t|he 68881|
|00001710| 20 74 6f 67 65 74 68 65 | 72 2c 20 77 65 20 77 6f | togethe|r, we wo|
|00001720| 75 6c 64 20 77 69 73 68 | 20 74 6f 20 6f 6e 6c 79 |uld wish| to only|
|00001730| 20 6d 61 72 6b 20 74 68 | 65 0d 3b 3b 2d 20 72 65 | mark th|e.;;- re|
|00001740| 67 69 73 74 65 72 20 63 | 6c 6f 62 62 65 72 65 64 |gister c|lobbered|
|00001750| 20 69 66 20 77 65 20 77 | 65 72 65 20 64 6f 69 6e | if we w|ere doin|
|00001760| 67 20 74 68 65 20 63 6f | 6d 70 61 72 65 20 69 6e |g the co|mpare in|
|00001770| 20 74 68 65 20 66 70 61 | 2c 20 62 75 74 20 49 0d | the fpa|, but I.|
|00001780| 3b 3b 2d 20 74 68 69 6e | 6b 20 74 68 61 74 20 74 |;;- thin|k that t|
|00001790| 68 61 74 20 64 65 63 69 | 73 69 6f 6e 20 28 77 68 |hat deci|sion (wh|
|000017a0| 65 74 68 65 72 20 74 6f | 20 63 6c 6f 62 62 65 72 |ether to| clobber|
|000017b0| 20 74 68 65 20 72 65 67 | 69 73 74 65 72 20 6f 72 | the reg|ister or|
|000017c0| 20 6e 6f 74 29 0d 3b 3b | 2d 20 6d 75 73 74 20 62 | not).;;|- must b|
|000017d0| 65 20 64 6f 6e 65 20 62 | 65 66 6f 72 65 20 72 65 |e done b|efore re|
|000017e0| 67 69 73 74 65 72 20 61 | 6c 6c 6f 63 61 74 69 6f |gister a|llocatio|
|000017f0| 6e 20 28 6d 61 6b 65 73 | 20 73 65 6e 73 65 29 20 |n (makes| sense) |
|00001800| 61 6e 64 20 68 65 6e 63 | 65 20 77 65 0d 3b 3b 2d |and henc|e we.;;-|
|00001810| 20 63 61 6e 27 74 20 6b | 6e 6f 77 20 69 66 20 74 | can't k|now if t|
|00001820| 68 65 20 66 6c 6f 61 74 | 69 6e 67 20 70 6f 69 6e |he float|ing poin|
|00001830| 74 20 63 6f 6d 70 61 72 | 65 20 77 69 6c 6c 20 62 |t compar|e will b|
|00001840| 65 20 64 6f 6e 65 20 69 | 6e 20 74 68 65 20 66 70 |e done i|n the fp|
|00001850| 61 0d 3b 3b 2d 20 6f 72 | 20 74 68 65 20 66 70 2e |a.;;- or| the fp.|
|00001860| 20 20 53 6f 20 77 68 65 | 6e 65 76 65 72 20 77 65 | So whe|never we|
|00001870| 20 61 72 65 20 61 73 6b | 65 64 20 66 6f 72 20 63 | are ask|ed for c|
|00001880| 6f 64 65 20 74 68 61 74 | 20 75 73 65 73 20 74 68 |ode that| uses th|
|00001890| 65 20 66 70 61 2c 0d 3b | 3b 2d 20 77 65 20 77 69 |e fpa,.;|;- we wi|
|000018a0| 6c 6c 20 6d 61 72 6b 20 | 61 20 64 61 74 61 20 72 |ll mark |a data r|
|000018b0| 65 67 69 73 74 65 72 20 | 61 73 20 63 6c 6f 62 62 |egister |as clobb|
|000018c0| 65 72 65 64 2e 20 20 54 | 68 69 73 20 69 73 20 72 |ered. T|his is r|
|000018d0| 65 61 73 6f 6e 61 62 6c | 65 2c 20 61 73 0d 3b 3b |easonabl|e, as.;;|
|000018e0| 2d 20 61 6c 6d 6f 73 74 | 20 61 6c 6c 20 66 6c 6f |- almost| all flo|
|000018f0| 61 74 69 6e 67 20 70 6f | 69 6e 74 20 63 6f 6d 70 |ating po|int comp|
|00001900| 61 72 65 20 6f 70 65 72 | 61 74 69 6f 6e 73 20 64 |are oper|ations d|
|00001910| 6f 6e 65 20 77 69 74 68 | 20 66 70 61 20 63 6f 64 |one with| fpa cod|
|00001920| 65 0d 3b 3b 2d 20 65 6e | 61 62 6c 65 64 20 77 69 |e.;;- en|abled wi|
|00001930| 6c 6c 20 62 65 20 64 6f | 6e 65 20 69 6e 20 74 68 |ll be do|ne in th|
|00001940| 65 20 66 70 61 2e 20 20 | 49 74 27 73 20 65 76 65 |e fpa. |It's eve|
|00001950| 6e 20 6d 6f 72 65 20 72 | 65 61 73 6f 6e 61 62 6c |n more r|easonabl|
|00001960| 65 20 73 69 6e 63 65 0d | 3b 3b 2d 20 77 65 20 64 |e since.|;;- we d|
|00001970| 65 63 69 64 65 64 20 74 | 6f 20 6d 61 6b 65 20 74 |ecided t|o make t|
|00001980| 68 65 20 36 38 38 38 31 | 20 61 6e 64 20 74 68 65 |he 68881| and the|
|00001990| 20 66 70 61 20 6d 75 74 | 75 61 6c 6c 79 20 65 78 | fpa mut|ually ex|
|000019a0| 63 6c 75 73 69 76 65 2e | 0d 0d 3b 3b 2d 20 57 65 |clusive.|..;;- We|
|000019b0| 20 70 6c 61 63 65 20 74 | 6f 20 63 6f 64 65 20 74 | place t|o code t|
|000019c0| 6f 20 6d 6f 76 65 20 74 | 68 65 20 66 70 61 73 74 |o move t|he fpast|
|000019d0| 61 74 75 73 20 72 65 67 | 69 73 74 65 72 20 69 6e |atus reg|ister in|
|000019e0| 73 69 64 65 20 6f 66 20 | 61 0d 3b 3b 2d 20 64 65 |side of |a.;;- de|
|000019f0| 66 69 6e 65 5f 65 78 70 | 61 6e 64 20 73 6f 20 74 |fine_exp|and so t|
|00001a00| 68 61 74 20 77 65 20 63 | 61 6e 20 64 6f 20 69 74 |hat we c|an do it|
|00001a10| 20 63 6f 6e 64 69 74 69 | 6f 6e 61 6c 6c 79 20 62 | conditi|onally b|
|00001a20| 61 73 65 64 20 6f 6e 20 | 77 68 65 74 68 65 72 0d |ased on |whether.|
|00001a30| 3b 3b 2d 20 77 65 20 61 | 72 65 20 74 61 67 65 74 |;;- we a|re taget|
|00001a40| 74 69 6e 67 20 61 6e 20 | 66 70 61 20 6f 72 20 6e |ting an |fpa or n|
|00001a50| 6f 74 2e 0d 0d 3b 3b 2d | 20 54 68 69 73 20 73 74 |ot...;;-| This st|
|00001a60| 69 6c 6c 20 6c 65 61 76 | 65 73 20 75 73 20 77 69 |ill leav|es us wi|
|00001a70| 74 68 20 74 68 65 20 71 | 75 65 73 74 69 6f 6e 20 |th the q|uestion |
|00001a80| 6f 66 20 77 68 65 72 65 | 20 77 65 20 77 69 73 68 |of where| we wish|
|00001a90| 20 74 6f 20 70 75 74 20 | 74 68 65 0d 3b 3b 2d 20 | to put |the.;;- |
|00001aa0| 63 6f 64 65 20 74 6f 20 | 6d 6f 76 65 20 74 68 65 |code to |move the|
|00001ab0| 20 66 70 61 73 74 61 74 | 75 73 20 72 65 67 2e 20 | fpastat|us reg. |
|00001ac0| 20 49 66 20 77 65 20 70 | 75 74 20 69 74 20 69 6e | If we p|ut it in|
|00001ad0| 20 74 68 65 20 63 6f 6d | 70 61 72 65 0d 3b 3b 2d | the com|pare.;;-|
|00001ae0| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 2c 20 77 65 | instruc|tion, we|
|00001af0| 20 63 61 6e 20 72 65 73 | 74 72 69 63 74 20 74 68 | can res|trict th|
|00001b00| 65 20 63 6c 6f 62 62 65 | 72 69 6e 67 20 6f 66 20 |e clobbe|ring of |
|00001b10| 74 68 65 20 72 65 67 69 | 73 74 65 72 20 74 6f 0d |the regi|ster to.|
|00001b20| 3b 3b 2d 20 66 6c 6f 61 | 74 69 6e 67 20 70 6f 69 |;;- floa|ting poi|
|00001b30| 6e 74 20 63 6f 6d 70 61 | 72 65 73 2c 20 62 75 74 |nt compa|res, but|
|00001b40| 20 77 65 20 63 61 6e 27 | 74 20 74 61 6b 65 20 61 | we can'|t take a|
|00001b50| 64 76 61 6e 74 61 67 65 | 20 6f 66 20 66 6c 6f 61 |dvantage| of floa|
|00001b60| 74 69 6e 67 0d 3b 3b 2d | 20 70 6f 69 6e 74 20 73 |ting.;;-| point s|
|00001b70| 75 62 74 72 61 63 74 73 | 20 26 20 65 74 63 2e 20 |ubtracts| & etc. |
|00001b80| 74 68 61 74 20 61 6c 74 | 65 72 20 74 68 65 20 66 |that alt|er the f|
|00001b90| 70 61 73 74 61 74 75 73 | 20 72 65 67 69 73 74 65 |pastatus| registe|
|00001ba0| 72 2e 20 20 49 66 20 77 | 65 0d 3b 3b 2d 20 70 75 |r. If w|e.;;- pu|
|00001bb0| 74 20 69 74 20 69 6e 20 | 74 68 65 20 62 72 61 6e |t it in |the bran|
|00001bc0| 63 68 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 2c 20 |ch instr|uction, |
|00001bd0| 61 6c 6c 20 62 72 61 6e | 63 68 65 73 20 63 6f 6d |all bran|ches com|
|00001be0| 70 69 6c 65 64 20 77 69 | 74 68 20 66 70 61 0d 3b |piled wi|th fpa.;|
|00001bf0| 3b 2d 20 63 6f 64 65 20 | 65 6e 61 62 6c 65 64 20 |;- code |enabled |
|00001c00| 77 69 6c 6c 20 63 6c 6f | 62 62 65 72 20 61 20 64 |will clo|bber a d|
|00001c10| 61 74 61 20 72 65 67 69 | 73 74 65 72 2c 20 62 75 |ata regi|ster, bu|
|00001c20| 74 20 77 65 20 77 69 6c | 6c 20 62 65 20 61 62 6c |t we wil|l be abl|
|00001c30| 65 20 74 6f 0d 3b 3b 2d | 20 74 61 6b 65 20 61 64 |e to.;;-| take ad|
|00001c40| 76 61 6e 74 61 67 65 20 | 6f 66 20 66 70 61 20 73 |vantage |of fpa s|
|00001c50| 75 62 74 72 61 63 74 73 | 2e 20 20 54 68 69 73 20 |ubtracts|. This |
|00001c60| 62 61 6c 61 6e 63 65 20 | 66 61 76 6f 72 73 20 70 |balance |favors p|
|00001c70| 75 74 74 69 6e 67 20 74 | 68 65 0d 3b 3b 2d 20 63 |utting t|he.;;- c|
|00001c80| 6f 64 65 20 69 6e 20 77 | 69 74 68 20 74 68 65 20 |ode in w|ith the |
|00001c90| 63 6f 6d 70 61 72 65 20 | 69 6e 73 74 72 75 63 74 |compare |instruct|
|00001ca0| 69 6f 6e 2e 0d 0d 3b 3b | 2d 20 4e 6f 74 65 20 74 |ion...;;|- Note t|
|00001cb0| 68 61 74 20 69 66 20 73 | 6f 6d 65 20 65 6e 74 65 |hat if s|ome ente|
|00001cc0| 72 70 72 69 73 69 6e 67 | 20 68 61 63 6b 65 72 20 |rprising| hacker |
|00001cd0| 73 68 6f 75 6c 64 20 64 | 65 63 69 64 65 20 74 6f |should d|ecide to|
|00001ce0| 20 73 77 69 74 63 68 0d | 3b 3b 2d 20 74 68 69 73 | switch.|;;- this|
|00001cf0| 2c 20 68 65 27 6c 6c 20 | 6e 65 65 64 20 74 6f 20 |, he'll |need to |
|00001d00| 6d 6f 64 69 66 79 20 74 | 68 65 20 63 6f 64 65 20 |modify t|he code |
|00001d10| 69 6e 20 4e 4f 54 49 43 | 45 5f 55 50 44 41 54 45 |in NOTIC|E_UPDATE|
|00001d20| 5f 43 43 2e 0d 0d 3b 3b | 2d 09 09 55 73 61 67 65 |_CC...;;|-..Usage|
|00001d30| 20 6f 66 20 74 68 65 20 | 74 6f 70 20 31 36 20 66 | of the |top 16 f|
|00001d40| 70 61 20 72 65 67 69 73 | 74 65 72 73 0d 0d 3b 3b |pa regis|ters..;;|
|00001d50| 2d 20 54 68 65 20 6f 6e | 6c 79 20 6c 6f 63 61 74 |- The on|ly locat|
|00001d60| 69 6f 6e 73 20 77 68 69 | 63 68 20 77 65 20 6d 61 |ions whi|ch we ma|
|00001d70| 79 20 74 72 61 6e 73 66 | 65 72 20 66 70 61 20 72 |y transf|er fpa r|
|00001d80| 65 67 69 73 74 65 72 73 | 20 31 36 2d 33 31 20 66 |egisters| 16-31 f|
|00001d90| 72 6f 6d 0d 3b 3b 2d 20 | 6f 72 20 74 6f 20 61 72 |rom.;;- |or to ar|
|00001da0| 65 20 74 68 65 20 66 70 | 61 20 72 65 67 69 73 74 |e the fp|a regist|
|00001db0| 65 72 73 20 30 2d 31 35 | 2e 20 20 28 36 38 30 30 |ers 0-15|. (6800|
|00001dc0| 30 20 72 65 67 69 73 74 | 65 72 73 20 61 6e 64 20 |0 regist|ers and |
|00001dd0| 6d 65 6d 6f 72 79 0d 3b | 3b 2d 20 6c 6f 63 61 74 |memory.;|;- locat|
|00001de0| 69 6f 6e 73 20 61 72 65 | 20 69 6d 70 6f 73 73 69 |ions are| impossi|
|00001df0| 62 6c 65 29 2e 20 20 54 | 68 69 73 20 63 61 75 73 |ble). T|his caus|
|00001e00| 65 73 20 70 72 6f 62 6c | 65 6d 73 20 69 6e 20 67 |es probl|ems in g|
|00001e10| 63 63 2c 20 77 68 69 63 | 68 0d 3b 3b 2d 20 61 73 |cc, whic|h.;;- as|
|00001e20| 73 75 6d 65 73 20 74 68 | 61 74 20 6d 6f 76 3f 3f |sumes th|at mov??|
|00001e30| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 73 20 72 65 | instruc|tions re|
|00001e40| 71 75 69 72 65 20 6e 6f | 20 61 64 64 69 74 69 6f |quire no| additio|
|00001e50| 6e 61 6c 20 72 65 67 69 | 73 74 65 72 73 0d 3b 3b |nal regi|sters.;;|
|00001e60| 2d 20 28 73 65 65 20 73 | 65 63 74 69 6f 6e 20 31 |- (see s|ection 1|
|00001e70| 31 2e 37 29 20 61 6e 64 | 20 73 69 6e 63 65 20 66 |1.7) and| since f|
|00001e80| 6c 6f 61 74 69 6e 67 20 | 70 6f 69 6e 74 20 6d 6f |loating |point mo|
|00001e90| 76 65 73 20 2a 6d 75 73 | 74 2a 20 62 65 0d 3b 3b |ves *mus|t* be.;;|
|00001ea0| 2d 20 73 75 70 70 6f 72 | 74 65 64 20 69 6e 74 6f |- suppor|ted into|
|00001eb0| 20 67 65 6e 65 72 61 6c | 20 72 65 67 69 73 74 65 | general| registe|
|00001ec0| 72 73 20 28 73 65 65 20 | 73 65 63 74 69 6f 6e 20 |rs (see |section |
|00001ed0| 31 32 2e 33 20 75 6e 64 | 65 72 0d 3b 3b 2d 20 48 |12.3 und|er.;;- H|
|00001ee0| 41 52 44 5f 52 45 47 4e | 4f 5f 4f 4b 5f 46 4f 52 |ARD_REGN|O_OK_FOR|
|00001ef0| 5f 4d 4f 44 45 5f 50 29 | 20 66 72 6f 6d 20 61 6e |_MODE_P)| from an|
|00001f00| 79 77 68 65 72 65 2e 0d | 0d 3b 3b 2d 20 4d 79 20 |ywhere..|.;;- My |
|00001f10| 73 6f 6c 75 74 69 6f 6e | 20 77 61 73 20 74 6f 20 |solution| was to |
|00001f20| 72 65 73 65 72 76 65 20 | 66 70 61 30 20 66 6f 72 |reserve |fpa0 for|
|00001f30| 20 6d 6f 76 65 73 20 69 | 6e 74 6f 20 6f 72 20 6f | moves i|nto or o|
|00001f40| 75 74 20 6f 66 20 74 68 | 65 73 65 20 74 6f 70 0d |ut of th|ese top.|
|00001f50| 3b 3b 2d 20 31 36 20 72 | 65 67 69 73 74 65 72 73 |;;- 16 r|egisters|
|00001f60| 20 61 6e 64 20 74 6f 20 | 64 69 73 70 61 72 61 67 | and to |disparag|
|00001f70| 65 20 74 68 65 20 63 68 | 6f 69 63 65 20 74 6f 20 |e the ch|oice to |
|00001f80| 72 65 6c 6f 61 64 20 69 | 6e 74 6f 20 6f 72 20 6f |reload i|nto or o|
|00001f90| 75 74 20 6f 66 0d 3b 3b | 2d 20 74 68 65 73 65 20 |ut of.;;|- these |
|00001fa0| 72 65 67 69 73 74 65 72 | 73 20 61 73 20 6d 75 63 |register|s as muc|
|00001fb0| 68 20 61 73 20 49 20 63 | 6f 75 6c 64 2e 20 20 54 |h as I c|ould. T|
|00001fc0| 68 61 74 20 61 6c 74 65 | 72 6e 61 74 69 76 65 20 |hat alte|rnative |
|00001fd0| 69 73 20 61 6c 77 61 79 | 73 0d 3b 3b 2d 20 6c 61 |is alway|s.;;- la|
|00001fe0| 73 74 20 69 6e 20 74 68 | 65 20 6c 69 73 74 2c 20 |st in th|e list, |
|00001ff0| 73 6f 20 69 74 20 77 69 | 6c 6c 20 6e 6f 74 20 62 |so it wi|ll not b|
|00002000| 65 20 75 73 65 64 20 75 | 6e 6c 65 73 73 20 61 6c |e used u|nless al|
|00002010| 6c 20 65 6c 73 65 20 66 | 61 69 6c 73 2e 20 20 49 |l else f|ails. I|
|00002020| 0d 3b 3b 2d 20 77 69 6c | 6c 20 6e 6f 74 65 20 74 |.;;- wil|l note t|
|00002030| 68 61 74 20 61 63 63 6f | 72 64 69 6e 67 20 74 6f |hat acco|rding to|
|00002040| 20 6d 79 20 63 75 72 72 | 65 6e 74 20 69 6e 66 6f | my curr|ent info|
|00002050| 72 6d 61 74 69 6f 6e 2c | 20 73 75 6e 27 73 20 63 |rmation,| sun's c|
|00002060| 6f 6d 70 69 6c 65 72 0d | 3b 3b 2d 20 64 6f 65 73 |ompiler.|;;- does|
|00002070| 6e 27 74 20 75 73 65 20 | 74 68 65 73 65 20 74 6f |n't use |these to|
|00002080| 70 20 31 36 20 72 65 67 | 69 73 74 65 72 73 20 61 |p 16 reg|isters a|
|00002090| 74 20 61 6c 6c 2e 0d 0d | 3b 3b 2d 20 54 68 65 72 |t all...|;;- Ther|
|000020a0| 65 20 69 73 20 61 6e 6f | 74 68 65 72 20 70 6f 73 |e is ano|ther pos|
|000020b0| 73 69 62 6c 65 20 77 61 | 79 20 74 6f 20 64 6f 20 |sible wa|y to do |
|000020c0| 69 74 2e 20 20 49 20 2a | 62 65 6c 69 65 76 65 2a |it. I *|believe*|
|000020d0| 20 74 68 61 74 20 69 66 | 20 79 6f 75 0d 3b 3b 2d | that if| you.;;-|
|000020e0| 20 6d 61 6b 65 20 61 62 | 73 6f 6c 75 74 65 6c 79 | make ab|solutely|
|000020f0| 20 73 75 72 65 20 74 68 | 61 74 20 74 68 65 20 63 | sure th|at the c|
|00002100| 6f 64 65 20 77 69 6c 6c | 20 6e 6f 74 20 62 65 20 |ode will| not be |
|00002110| 65 78 65 63 74 75 65 64 | 20 69 6e 20 74 68 65 0d |exectued| in the.|
|00002120| 3b 3b 2d 20 72 65 6c 6f | 61 64 20 70 61 73 73 2c |;;- relo|ad pass,|
|00002130| 20 79 6f 75 20 63 61 6e | 20 73 75 70 70 6f 72 74 | you can| support|
|00002140| 20 74 68 65 20 6d 6f 76 | 3f 3f 20 6e 61 6d 65 73 | the mov|?? names|
|00002150| 20 77 69 74 68 20 64 65 | 66 69 6e 65 5f 65 78 70 | with de|fine_exp|
|00002160| 61 6e 64 73 0d 3b 3b 2d | 20 77 68 69 63 68 20 72 |ands.;;-| which r|
|00002170| 65 71 75 69 72 65 20 6e | 65 77 20 72 65 67 69 73 |equire n|ew regis|
|00002180| 74 65 72 73 2e 20 20 54 | 68 69 73 20 6d 61 79 20 |ters. T|his may |
|00002190| 62 65 20 70 6f 73 73 69 | 62 6c 65 20 62 79 20 74 |be possi|ble by t|
|000021a0| 68 65 0d 3b 3b 2d 20 61 | 70 70 72 6f 70 72 69 61 |he.;;- a|ppropria|
|000021b0| 74 65 20 6a 75 67 67 6c | 69 6e 67 20 6f 66 20 63 |te juggl|ing of c|
|000021c0| 6f 6e 73 74 72 61 69 6e | 74 73 2e 20 20 49 20 6d |onstrain|ts. I m|
|000021d0| 61 79 20 63 6f 6d 65 20 | 62 61 63 6b 20 74 6f 20 |ay come |back to |
|000021e0| 74 68 69 73 20 6c 61 74 | 65 72 2e 0d 0d 3b 3b 2d |this lat|er...;;-|
|000021f0| 20 09 09 55 73 61 67 65 | 20 6f 66 20 63 6f 6e 73 | ..Usage| of cons|
|00002200| 74 61 6e 74 20 52 41 4d | 0d 0d 3b 3b 2d 20 54 68 |tant RAM|..;;- Th|
|00002210| 69 73 20 68 61 73 20 62 | 65 65 6e 20 68 61 6e 64 |is has b|een hand|
|00002220| 6c 65 64 20 63 6f 72 72 | 65 63 74 6c 79 20 28 49 |led corr|ectly (I|
|00002230| 20 62 65 6c 69 65 76 65 | 29 20 62 75 74 20 74 68 | believe|) but th|
|00002240| 65 20 77 61 79 20 49 27 | 76 65 20 64 6f 6e 65 0d |e way I'|ve done.|
|00002250| 3b 3b 2d 20 69 74 20 63 | 6f 75 6c 64 20 75 73 65 |;;- it c|ould use|
|00002260| 20 61 20 6c 69 74 74 6c | 65 20 65 78 70 6c 61 6e | a littl|e explan|
|00002270| 61 74 69 6f 6e 2e 20 20 | 54 68 65 20 63 6f 6e 73 |ation. |The cons|
|00002280| 74 61 6e 74 20 52 41 4d | 20 63 61 6e 20 6f 6e 6c |tant RAM| can onl|
|00002290| 79 20 62 65 0d 3b 3b 2d | 20 61 63 63 65 73 73 65 |y be.;;-| accesse|
|000022a0| 64 20 77 68 65 6e 20 74 | 68 65 20 69 6e 73 74 72 |d when t|he instr|
|000022b0| 75 63 74 69 6f 6e 20 69 | 73 20 69 6e 20 22 63 6f |uction i|s in "co|
|000022c0| 6d 6d 61 6e 64 20 72 65 | 67 69 73 74 65 72 22 20 |mmand re|gister" |
|000022d0| 6d 6f 64 65 2e 0d 3b 3b | 2d 20 22 63 6f 6d 6d 61 |mode..;;|- "comma|
|000022e0| 6e 64 20 72 65 67 69 73 | 74 65 72 22 20 6d 6f 64 |nd regis|ter" mod|
|000022f0| 65 20 6d 65 61 6e 73 20 | 74 68 61 74 20 6e 6f 20 |e means |that no |
|00002300| 61 63 63 65 73 73 69 6e | 67 20 6f 66 20 6d 65 6d |accessin|g of mem|
|00002310| 6f 72 79 20 6f 72 20 74 | 68 65 0d 3b 3b 2d 20 36 |ory or t|he.;;- 6|
|00002320| 38 30 30 30 20 72 65 67 | 69 73 74 65 72 73 20 69 |8000 reg|isters i|
|00002330| 73 20 62 65 69 6e 67 20 | 64 6f 6e 65 2e 20 20 54 |s being |done. T|
|00002340| 68 69 73 20 63 61 6e 20 | 62 65 20 65 78 70 72 65 |his can |be expre|
|00002350| 73 73 65 64 20 65 61 73 | 69 6c 79 20 69 6e 0d 3b |ssed eas|ily in.;|
|00002360| 3b 2d 20 63 6f 6e 73 74 | 72 61 69 6e 74 73 2c 20 |;- const|raints, |
|00002370| 73 6f 20 67 65 6e 65 72 | 61 6c 6c 79 20 74 68 65 |so gener|ally the|
|00002380| 20 6d 6f 64 65 20 6f 66 | 20 74 68 65 20 69 6e 73 | mode of| the ins|
|00002390| 74 72 75 63 74 69 6f 6e | 20 69 73 0d 3b 3b 2d 20 |truction| is.;;- |
|000023a0| 64 65 74 65 72 6d 69 6e | 65 64 20 62 79 20 61 20 |determin|ed by a |
|000023b0| 62 72 61 6e 63 68 20 6f | 66 66 20 6f 66 20 77 68 |branch o|ff of wh|
|000023c0| 69 63 68 5f 61 6c 74 65 | 72 6e 61 74 69 76 65 2e |ich_alte|rnative.|
|000023d0| 20 20 49 6e 20 6f 75 74 | 70 75 74 69 6e 67 0d 3b | In out|puting.;|
|000023e0| 3b 2d 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 2c |;- instr|uctions,|
|000023f0| 20 61 20 27 77 27 20 6d | 65 61 6e 73 20 74 6f 20 | a 'w' m|eans to |
|00002400| 6f 75 74 70 75 74 20 61 | 6e 20 61 63 63 65 73 73 |output a|n access|
|00002410| 20 74 6f 20 74 68 65 20 | 63 6f 6e 73 74 61 6e 74 | to the |constant|
|00002420| 20 72 61 6d 0d 3b 3b 2d | 20 28 69 66 20 74 68 65 | ram.;;-| (if the|
|00002430| 20 61 72 67 20 69 73 20 | 43 4f 4e 53 54 5f 44 4f | arg is |CONST_DO|
|00002440| 55 42 4c 45 20 61 6e 64 | 20 69 73 20 6f 6e 65 20 |UBLE and| is one |
|00002450| 6f 66 20 74 68 65 20 61 | 76 61 69 6c 61 62 6c 65 |of the a|vailable|
|00002460| 0d 3b 3b 2d 20 63 6f 6e | 73 74 61 6e 74 73 29 2c |.;;- con|stants),|
|00002470| 20 61 6e 64 20 27 78 27 | 20 6d 65 61 6e 73 20 74 | and 'x'| means t|
|00002480| 6f 20 6f 75 74 70 75 74 | 20 61 20 72 65 67 69 73 |o output| a regis|
|00002490| 74 65 72 20 70 61 69 72 | 20 28 69 66 20 74 68 65 |ter pair| (if the|
|000024a0| 20 61 72 67 20 69 73 0d | 3b 3b 2d 20 61 20 36 38 | arg is.|;;- a 68|
|000024b0| 30 30 30 20 72 65 67 69 | 73 74 65 72 29 20 61 6e |000 regi|ster) an|
|000024c0| 64 20 61 20 27 79 27 20 | 69 73 20 74 68 65 20 63 |d a 'y' |is the c|
|000024d0| 6f 6d 62 69 6e 61 74 69 | 6f 6e 20 6f 66 20 74 68 |ombinati|on of th|
|000024e0| 65 20 61 62 6f 76 65 20 | 74 77 6f 0d 3b 3b 2d 20 |e above |two.;;- |
|000024f0| 70 72 6f 63 65 73 73 69 | 65 73 2e 20 20 59 6f 75 |processi|es. You|
|00002500| 20 75 73 65 20 61 20 27 | 79 27 20 69 6e 20 74 77 | use a '|y' in tw|
|00002510| 6f 20 6f 70 65 72 61 6e | 64 20 44 46 20 69 6e 73 |o operan|d DF ins|
|00002520| 74 72 75 63 74 69 6f 6e | 73 20 77 68 65 72 65 20 |truction|s where |
|00002530| 79 6f 75 0d 3b 3b 2d 20 | 2a 6b 6e 6f 77 2a 20 74 |you.;;- |*know* t|
|00002540| 68 65 20 6f 74 68 65 72 | 20 6f 70 65 72 61 6e 64 |he other| operand|
|00002550| 20 69 73 20 61 6e 20 66 | 70 61 20 72 65 67 69 73 | is an f|pa regis|
|00002560| 74 65 72 2c 20 79 6f 75 | 20 75 73 65 20 61 6e 20 |ter, you| use an |
|00002570| 27 78 27 20 69 6e 20 44 | 46 0d 3b 3b 2d 20 69 6e |'x' in D|F.;;- in|
|00002580| 73 74 72 75 63 74 69 6f | 6e 73 20 77 68 65 72 65 |structio|ns where|
|00002590| 20 74 68 65 20 61 72 67 | 20 6d 69 67 68 74 20 62 | the arg| might b|
|000025a0| 65 20 61 20 36 38 30 30 | 30 20 72 65 67 69 73 74 |e a 6800|0 regist|
|000025b0| 65 72 20 61 6e 64 20 74 | 68 65 0d 3b 3b 2d 20 69 |er and t|he.;;- i|
|000025c0| 6e 73 74 72 75 63 74 69 | 6f 6e 20 69 73 20 2a 6e |nstructi|on is *n|
|000025d0| 6f 74 2a 20 69 6e 20 22 | 63 6f 6d 6d 61 6e 64 20 |ot* in "|command |
|000025e0| 72 65 67 69 73 74 65 72 | 22 20 6d 6f 64 65 2c 20 |register|" mode, |
|000025f0| 61 6e 64 20 79 6f 75 20 | 75 73 65 20 61 20 27 77 |and you |use a 'w|
|00002600| 27 0d 3b 3b 2d 20 69 6e | 20 74 77 6f 20 73 69 74 |'.;;- in| two sit|
|00002610| 75 61 74 69 6f 6e 73 3a | 20 31 29 20 54 68 65 20 |uations:| 1) The |
|00002620| 69 6e 73 74 72 75 63 74 | 69 6f 6e 20 2a 69 73 2a |instruct|ion *is*|
|00002630| 20 69 6e 20 63 6f 6d 6d | 61 6e 64 20 72 65 67 69 | in comm|and regi|
|00002640| 73 74 65 72 0d 3b 3b 2d | 20 6d 6f 64 65 20 28 61 |ster.;;-| mode (a|
|00002650| 6e 64 20 68 65 6e 63 65 | 20 77 6f 6e 27 74 20 62 |nd hence| won't b|
|00002660| 65 20 61 63 63 65 73 73 | 69 6e 67 20 36 38 30 30 |e access|ing 6800|
|00002670| 30 20 72 65 67 69 73 74 | 65 72 73 29 2c 20 6f 72 |0 regist|ers), or|
|00002680| 20 32 29 20 54 68 65 0d | 3b 3b 2d 20 69 6e 73 74 | 2) The.|;;- inst|
|00002690| 72 75 63 74 69 6f 6e 20 | 69 73 20 61 20 74 77 6f |ruction |is a two|
|000026a0| 20 6f 70 65 72 61 6e 64 | 20 53 46 20 69 6e 73 74 | operand| SF inst|
|000026b0| 72 75 63 74 69 6f 6e 20 | 77 68 65 72 65 20 79 6f |ruction |where yo|
|000026c0| 75 20 6b 6e 6f 77 20 74 | 68 65 0d 3b 3b 2d 20 6f |u know t|he.;;- o|
|000026d0| 74 68 65 72 20 6f 70 65 | 72 61 6e 64 20 69 73 20 |ther ope|rand is |
|000026e0| 61 6e 20 66 70 61 20 72 | 65 67 69 73 74 65 72 2e |an fpa r|egister.|
|000026f0| 0d 0d 3b 3b 2d 09 09 4f | 70 74 69 6d 69 7a 61 74 |..;;-..O|ptimizat|
|00002700| 69 6f 6e 20 69 73 73 75 | 65 73 0d 0d 3b 3b 2d 20 |ion issu|es..;;- |
|00002710| 49 20 61 63 74 75 61 6c | 6c 79 20 74 68 69 6e 6b |I actual|ly think|
|00002720| 20 74 68 61 74 20 49 27 | 76 65 20 69 6e 63 6c 75 | that I'|ve inclu|
|00002730| 64 65 64 20 61 6c 6c 20 | 6f 66 20 74 68 65 20 66 |ded all |of the f|
|00002740| 70 61 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 0d |pa instr|uctions.|
|00002750| 3b 3b 2d 20 74 68 61 74 | 20 73 68 6f 75 6c 64 20 |;;- that| should |
|00002760| 62 65 20 69 6e 63 6c 75 | 64 65 64 2e 20 20 4e 6f |be inclu|ded. No|
|00002770| 74 65 20 74 68 61 74 20 | 69 66 20 73 6f 6d 65 6f |te that |if someo|
|00002780| 6e 65 20 69 73 20 69 6e | 74 65 72 65 73 74 65 64 |ne is in|terested|
|00002790| 20 69 6e 0d 3b 3b 2d 20 | 64 6f 69 6e 67 20 73 65 | in.;;- |doing se|
|000027a0| 72 69 6f 75 73 20 66 6c | 6f 61 74 69 6e 67 20 70 |rious fl|oating p|
|000027b0| 6f 69 6e 74 20 77 6f 72 | 6b 20 6f 6e 20 74 68 65 |oint wor|k on the|
|000027c0| 20 73 75 6e 20 66 70 61 | 2c 20 49 20 77 6f 75 6c | sun fpa|, I woul|
|000027d0| 64 20 61 64 76 69 73 65 | 0d 3b 3b 2d 20 74 68 65 |d advise|.;;- the|
|000027e0| 20 75 73 65 20 6f 66 20 | 74 68 65 20 22 61 73 6d | use of |the "asm|
|000027f0| 22 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 20 69 6e |" instru|ction in|
|00002800| 20 67 63 63 20 74 6f 20 | 61 6c 6c 6f 77 20 79 6f | gcc to |allow yo|
|00002810| 75 20 74 6f 20 75 73 65 | 20 74 68 65 0d 3b 3b 2d |u to use| the.;;-|
|00002820| 20 73 69 6e 2c 20 63 6f | 73 2c 20 61 6e 64 20 65 | sin, co|s, and e|
|00002830| 78 70 6f 6e 65 6e 74 69 | 61 6c 20 66 75 6e 63 74 |xponenti|al funct|
|00002840| 69 6f 6e 73 20 6f 6e 20 | 74 68 65 20 66 70 61 20 |ions on |the fpa |
|00002850| 62 6f 61 72 64 2e 0d 0d | 3b 3b 2d 20 45 4e 44 20 |board...|;;- END |
|00002860| 46 50 41 20 45 78 70 6c | 61 6e 61 74 69 6f 6e 20 |FPA Expl|anation |
|00002870| 53 65 63 74 69 6f 6e 2e | 0d 0d 0d 3b 3b 2d 20 53 |Section.|...;;- S|
|00002880| 6f 6d 65 20 6f 66 20 74 | 68 65 73 65 20 69 6e 73 |ome of t|hese ins|
|00002890| 6e 27 73 20 61 72 65 20 | 63 6f 6d 70 6f 73 69 74 |n's are |composit|
|000028a0| 65 73 20 6f 66 20 73 65 | 76 65 72 61 6c 20 6d 36 |es of se|veral m6|
|000028b0| 38 30 30 30 20 6f 70 20 | 63 6f 64 65 73 2e 0d 3b |8000 op |codes..;|
|000028c0| 3b 2d 20 54 68 65 20 61 | 73 73 65 6d 62 6c 65 72 |;- The a|ssembler|
|000028d0| 20 28 6f 72 20 66 69 6e | 61 6c 20 40 40 3f 3f 29 | (or fin|al @@??)|
|000028e0| 20 69 6e 73 75 72 65 73 | 20 74 68 61 74 20 74 68 | insures| that th|
|000028f0| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 6f 6e |e approp|riate on|
|00002900| 65 20 69 73 0d 3b 3b 2d | 20 73 65 6c 65 63 74 65 |e is.;;-| selecte|
|00002910| 64 2e 0d 0c 0d 28 64 65 | 66 69 6e 65 5f 69 6e 73 |d....(de|fine_ins|
|00002920| 6e 20 22 22 0d 20 20 5b | 28 73 65 74 20 28 6d 61 |n "". [|(set (ma|
|00002930| 74 63 68 5f 6f 70 65 72 | 61 6e 64 3a 44 46 20 30 |tch_oper|and:DF 0|
|00002940| 20 22 70 75 73 68 5f 6f | 70 65 72 61 6e 64 22 20 | "push_o|perand" |
|00002950| 22 3d 6d 22 29 0d 09 28 | 6d 61 74 63 68 5f 6f 70 |"=m")..(|match_op|
|00002960| 65 72 61 6e 64 3a 44 46 | 20 31 20 22 67 65 6e 65 |erand:DF| 1 "gene|
|00002970| 72 61 6c 5f 6f 70 65 72 | 61 6e 64 22 20 22 72 6f |ral_oper|and" "ro|
|00002980| 3c 3e 66 79 46 22 29 29 | 5d 0d 20 20 22 22 0d 20 |<>fyF"))|]. "". |
|00002990| 20 22 2a 0d 7b 0d 20 20 | 69 66 20 28 46 50 5f 52 | "*.{. |if (FP_R|
|000029a0| 45 47 5f 50 20 28 6f 70 | 65 72 61 6e 64 73 5b 31 |EG_P (op|erands[1|
|000029b0| 5d 29 29 0d 20 20 20 20 | 72 65 74 75 72 6e 20 5c |])). |return \|
|000029c0| 22 66 6d 6f 76 65 25 2e | 64 20 25 66 31 2c 25 30 |"fmove%.|d %f1,%0|
|000029d0| 5c 22 3b 0d 20 20 69 66 | 20 28 46 50 41 5f 52 45 |\";. if| (FPA_RE|
|000029e0| 47 5f 50 20 28 6f 70 65 | 72 61 6e 64 73 5b 31 5d |G_P (ope|rands[1]|
|000029f0| 29 29 0d 20 20 20 20 72 | 65 74 75 72 6e 20 5c 22 |)). r|eturn \"|
|00002a00| 66 70 6d 6f 76 65 25 2e | 64 20 25 31 2c 20 25 78 |fpmove%.|d %1, %x|
|00002a10| 30 5c 22 3b 0d 20 20 72 | 65 74 75 72 6e 20 6f 75 |0\";. r|eturn ou|
|00002a20| 74 70 75 74 5f 6d 6f 76 | 65 5f 64 6f 75 62 6c 65 |tput_mov|e_double|
|00002a30| 20 28 6f 70 65 72 61 6e | 64 73 29 3b 0d 7d 22 29 | (operan|ds);.}")|
|00002a40| 0d 0d 28 64 65 66 69 6e | 65 5f 69 6e 73 6e 20 22 |..(defin|e_insn "|
|00002a50| 22 0d 20 20 5b 28 73 65 | 74 20 28 6d 61 74 63 68 |". [(se|t (match|
|00002a60| 5f 6f 70 65 72 61 6e 64 | 3a 44 49 20 30 20 22 70 |_operand|:DI 0 "p|
|00002a70| 75 73 68 5f 6f 70 65 72 | 61 6e 64 22 20 22 3d 6d |ush_oper|and" "=m|
|00002a80| 22 29 0d 09 28 6d 61 74 | 63 68 5f 6f 70 65 72 61 |")..(mat|ch_opera|
|00002a90| 6e 64 3a 44 49 20 31 20 | 22 67 65 6e 65 72 61 6c |nd:DI 1 |"general|
|00002aa0| 5f 6f 70 65 72 61 6e 64 | 22 20 22 72 6f 3c 3e 46 |_operand|" "ro<>F|
|00002ab0| 79 22 29 29 5d 0d 20 20 | 22 22 0d 20 20 22 2a 0d |y"))]. |"". "*.|
|00002ac0| 7b 0d 20 20 72 65 74 75 | 72 6e 20 6f 75 74 70 75 |{. retu|rn outpu|
|00002ad0| 74 5f 6d 6f 76 65 5f 64 | 6f 75 62 6c 65 20 28 6f |t_move_d|ouble (o|
|00002ae0| 70 65 72 61 6e 64 73 29 | 3b 0d 7d 22 29 0d 0c 0d |perands)|;.}")...|
|00002af0| 3b 3b 20 50 75 74 20 74 | 73 74 73 69 20 66 69 72 |;; Put t|stsi fir|
|00002b00| 73 74 20 61 6d 6f 6e 67 | 20 74 65 73 74 20 69 6e |st among| test in|
|00002b10| 73 6e 73 20 73 6f 20 69 | 74 20 6d 61 74 63 68 65 |sns so i|t matche|
|00002b20| 73 20 61 20 43 4f 4e 53 | 54 5f 49 4e 54 20 6f 70 |s a CONS|T_INT op|
|00002b30| 65 72 61 6e 64 2e 0d 0d | 28 64 65 66 69 6e 65 5f |erand...|(define_|
|00002b40| 69 6e 73 6e 20 22 74 73 | 74 73 69 22 0d 20 20 5b |insn "ts|tsi". [|
|00002b50| 28 73 65 74 20 28 63 63 | 30 29 0d 09 28 6d 61 74 |(set (cc|0)..(mat|
|00002b60| 63 68 5f 6f 70 65 72 61 | 6e 64 3a 53 49 20 30 20 |ch_opera|nd:SI 0 |
|00002b70| 22 67 65 6e 65 72 61 6c | 5f 6f 70 65 72 61 6e 64 |"general|_operand|
|00002b80| 22 20 22 72 6d 22 29 29 | 5d 0d 20 20 22 22 0d 20 |" "rm"))|]. "". |
|00002b90| 20 22 2a 0d 7b 0d 23 69 | 66 64 65 66 20 49 53 49 | "*.{.#i|fdef ISI|
|00002ba0| 5f 4f 56 0d 20 20 2f 2a | 20 49 53 49 27 73 20 61 |_OV. /*| ISI's a|
|00002bb0| 73 73 65 6d 62 6c 65 72 | 20 66 61 69 6c 73 20 74 |ssembler| fails t|
|00002bc0| 6f 20 68 61 6e 64 6c 65 | 20 74 73 74 6c 20 61 30 |o handle| tstl a0|
|00002bd0| 2e 20 20 2a 2f 0d 20 20 | 69 66 20 28 21 20 41 44 |. */. |if (! AD|
|00002be0| 44 52 45 53 53 5f 52 45 | 47 5f 50 20 28 6f 70 65 |DRESS_RE|G_P (ope|
|00002bf0| 72 61 6e 64 73 5b 30 5d | 29 29 0d 23 65 6c 73 65 |rands[0]|)).#else|
|00002c00| 0d 20 20 69 66 20 28 54 | 41 52 47 45 54 5f 36 38 |. if (T|ARGET_68|
|00002c10| 30 32 30 20 7c 7c 20 21 | 20 41 44 44 52 45 53 53 |020 || !| ADDRESS|
|00002c20| 5f 52 45 47 5f 50 20 28 | 6f 70 65 72 61 6e 64 73 |_REG_P (|operands|
|00002c30| 5b 30 5d 29 29 0d 23 65 | 6e 64 69 66 0d 20 20 20 |[0])).#e|ndif. |
|00002c40| 20 72 65 74 75 72 6e 20 | 5c 22 74 73 74 25 2e 6c | return |\"tst%.l|
|00002c50| 20 25 30 5c 22 3b 0d 20 | 20 2f 2a 20 49 66 20 79 | %0\";. | /* If y|
|00002c60| 6f 75 20 74 68 69 6e 6b | 20 74 68 61 74 20 74 68 |ou think| that th|
|00002c70| 65 20 36 38 30 32 30 20 | 64 6f 65 73 20 6e 6f 74 |e 68020 |does not|
|00002c80| 20 73 75 70 70 6f 72 74 | 20 74 73 74 6c 20 61 30 | support| tstl a0|
|00002c90| 2c 0d 20 20 20 20 20 72 | 65 72 65 61 64 20 70 61 |,. r|eread pa|
|00002ca0| 67 65 20 42 2d 31 36 37 | 20 6f 66 20 74 68 65 20 |ge B-167| of the |
|00002cb0| 36 38 30 32 30 20 6d 61 | 6e 75 61 6c 20 6d 6f 72 |68020 ma|nual mor|
|00002cc0| 65 20 63 61 72 65 66 75 | 6c 6c 79 2e 20 20 2a 2f |e carefu|lly. */|
|00002cd0| 0d 20 20 2f 2a 20 4f 6e | 20 61 6e 20 61 64 64 72 |. /* On| an addr|
|00002ce0| 65 73 73 20 72 65 67 2c | 20 63 6d 70 77 20 6d 61 |ess reg,| cmpw ma|
|00002cf0| 79 20 72 65 70 6c 61 63 | 65 20 63 6d 70 6c 2e 20 |y replac|e cmpl. |
|00002d00| 20 2a 2f 0d 23 69 66 64 | 65 66 20 48 50 55 58 5f | */.#ifd|ef HPUX_|
|00002d10| 41 53 4d 0d 20 20 72 65 | 74 75 72 6e 20 5c 22 63 |ASM. re|turn \"c|
|00002d20| 6d 70 25 2e 77 20 25 30 | 2c 25 23 30 5c 22 3b 0d |mp%.w %0|,%#0\";.|
|00002d30| 23 65 6c 73 65 0d 20 20 | 72 65 74 75 72 6e 20 5c |#else. |return \|
|00002d40| 22 63 6d 70 25 2e 77 20 | 25 23 30 2c 25 30 5c 22 |"cmp%.w |%#0,%0\"|
|00002d50| 3b 0d 23 65 6e 64 69 66 | 0d 7d 22 29 0d 0d 28 64 |;.#endif|.}")..(d|
|00002d60| 65 66 69 6e 65 5f 69 6e | 73 6e 20 22 74 73 74 68 |efine_in|sn "tsth|
|00002d70| 69 22 0d 20 20 5b 28 73 | 65 74 20 28 63 63 30 29 |i". [(s|et (cc0)|
|00002d80| 0d 09 28 6d 61 74 63 68 | 5f 6f 70 65 72 61 6e 64 |..(match|_operand|
|00002d90| 3a 48 49 20 30 20 22 67 | 65 6e 65 72 61 6c 5f 6f |:HI 0 "g|eneral_o|
|00002da0| 70 65 72 61 6e 64 22 20 | 22 72 6d 22 29 29 5d 0d |perand" |"rm"))].|
|00002db0| 20 20 22 22 0d 20 20 22 | 2a 0d 7b 0d 23 69 66 64 | "". "|*.{.#ifd|
|00002dc0| 65 66 20 49 53 49 5f 4f | 56 0d 20 20 69 66 20 28 |ef ISI_O|V. if (|
|00002dd0| 21 20 41 44 44 52 45 53 | 53 5f 52 45 47 5f 50 20 |! ADDRES|S_REG_P |
|00002de0| 28 6f 70 65 72 61 6e 64 | 73 5b 30 5d 29 29 0d 23 |(operand|s[0])).#|
|00002df0| 65 6c 73 65 0d 20 20 69 | 66 20 28 54 41 52 47 45 |else. i|f (TARGE|
|00002e00| 54 5f 36 38 30 32 30 20 | 7c 7c 20 21 20 41 44 44 |T_68020 ||| ! ADD|
|00002e10| 52 45 53 53 5f 52 45 47 | 5f 50 20 28 6f 70 65 72 |RESS_REG|_P (oper|
|00002e20| 61 6e 64 73 5b 30 5d 29 | 29 0d 23 65 6e 64 69 66 |ands[0])|).#endif|
|00002e30| 0d 20 20 20 20 72 65 74 | 75 72 6e 20 5c 22 74 73 |. ret|urn \"ts|
|00002e40| 74 25 2e 77 20 25 30 5c | 22 3b 0d 23 69 66 64 65 |t%.w %0\|";.#ifde|
|00002e50| 66 20 48 50 55 58 5f 41 | 53 4d 0d 20 20 72 65 74 |f HPUX_A|SM. ret|
|00002e60| 75 72 6e 20 5c 22 63 6d | 70 25 2e 77 20 25 30 2c |urn \"cm|p%.w %0,|
|00002e70| 25 23 30 5c 22 3b 0d 23 | 65 6c 73 65 0d 20 20 72 |%#0\";.#|else. r|
|00002e80| 65 74 75 72 6e 20 5c 22 | 63 6d 70 25 2e 77 20 25 |eturn \"|cmp%.w %|
|00002e90| 23 30 2c 25 30 5c 22 3b | 0d 23 65 6e 64 69 66 0d |#0,%0\";|.#endif.|
|00002ea0| 7d 22 29 0d 0d 28 64 65 | 66 69 6e 65 5f 69 6e 73 |}")..(de|fine_ins|
|00002eb0| 6e 20 22 74 73 74 71 69 | 22 0d 20 20 5b 28 73 65 |n "tstqi|". [(se|
|00002ec0| 74 20 28 63 63 30 29 0d | 09 28 6d 61 74 63 68 5f |t (cc0).|.(match_|
|00002ed0| 6f 70 65 72 61 6e 64 3a | 51 49 20 30 20 22 67 65 |operand:|QI 0 "ge|
|00002ee0| 6e 65 72 61 6c 5f 6f 70 | 65 72 61 6e 64 22 20 22 |neral_op|erand" "|
|00002ef0| 64 6d 22 29 29 5d 0d 20 | 20 22 22 0d 20 20 22 74 |dm"))]. | "". "t|
|00002f00| 73 74 25 2e 62 20 25 30 | 22 29 0d 20 20 0d 28 64 |st%.b %0|"). .(d|
|00002f10| 65 66 69 6e 65 5f 65 78 | 70 61 6e 64 20 22 74 73 |efine_ex|pand "ts|
|00002f20| 74 73 66 22 0d 20 20 5b | 28 73 65 74 20 28 63 63 |tsf". [|(set (cc|
|00002f30| 30 29 0d 09 28 6d 61 74 | 63 68 5f 6f 70 65 72 61 |0)..(mat|ch_opera|
|00002f40| 6e 64 3a 53 46 20 30 20 | 22 67 65 6e 65 72 61 6c |nd:SF 0 |"general|
|00002f50| 5f 6f 70 65 72 61 6e 64 | 22 20 22 22 29 29 5d 0d |_operand|" ""))].|
|00002f60| 20 20 22 54 41 52 47 45 | 54 5f 36 38 38 38 31 20 | "TARGE|T_68881 |
|00002f70| 7c 7c 20 54 41 52 47 45 | 54 5f 46 50 41 22 0d 20 ||| TARGE|T_FPA". |
|00002f80| 20 22 0d 7b 0d 20 20 69 | 66 20 28 54 41 52 47 45 | ".{. i|f (TARGE|
|00002f90| 54 5f 46 50 41 29 0d 20 | 20 20 20 7b 0d 20 20 20 |T_FPA). | {. |
|00002fa0| 20 20 20 65 6d 69 74 5f | 69 6e 73 6e 20 28 67 65 | emit_|insn (ge|
|00002fb0| 6e 5f 72 74 78 20 28 50 | 41 52 41 4c 4c 45 4c 2c |n_rtx (P|ARALLEL,|
|00002fc0| 20 56 4f 49 44 6d 6f 64 | 65 2c 0d 09 09 20 20 20 | VOIDmod|e,... |
|00002fd0| 20 20 20 20 20 20 20 67 | 65 6e 5f 72 74 76 65 63 | g|en_rtvec|
|00002fe0| 20 28 32 2c 0d 09 09 09 | 09 20 20 20 20 20 67 65 | (2,....|. ge|
|00002ff0| 6e 5f 72 74 78 20 28 53 | 45 54 2c 20 56 4f 49 44 |n_rtx (S|ET, VOID|
|00003000| 6d 6f 64 65 2c 0d 09 09 | 09 09 09 20 20 20 20 20 |mode,...|... |
|00003010| 20 63 63 30 5f 72 74 78 | 2c 20 6f 70 65 72 61 6e | cc0_rtx|, operan|
|00003020| 64 73 5b 30 5d 29 2c 0d | 09 09 09 09 20 20 20 20 |ds[0]),.|.... |
|00003030| 20 67 65 6e 5f 72 74 78 | 20 28 43 4c 4f 42 42 45 | gen_rtx| (CLOBBE|
|00003040| 52 2c 20 56 4f 49 44 6d | 6f 64 65 2c 0d 09 09 09 |R, VOIDm|ode,....|
|00003050| 09 09 20 20 20 20 20 20 | 67 65 6e 5f 72 65 67 5f |.. |gen_reg_|
|00003060| 72 74 78 20 28 53 49 6d | 6f 64 65 29 29 29 29 29 |rtx (SIm|ode)))))|
|00003070| 3b 0d 20 20 20 20 20 20 | 44 4f 4e 45 3b 0d 20 20 |;. |DONE;. |
|00003080| 20 20 7d 0d 7d 22 29 0d | 0d 28 64 65 66 69 6e 65 | }.}").|.(define|
|00003090| 5f 69 6e 73 6e 20 22 22 | 0d 20 20 5b 28 73 65 74 |_insn ""|. [(set|
|000030a0| 20 28 63 63 30 29 0d 09 | 28 6d 61 74 63 68 5f 6f | (cc0)..|(match_o|
|000030b0| 70 65 72 61 6e 64 3a 53 | 46 20 30 20 22 67 65 6e |perand:S|F 0 "gen|
|000030c0| 65 72 61 6c 5f 6f 70 65 | 72 61 6e 64 22 20 22 78 |eral_ope|rand" "x|
|000030d0| 6d 64 46 22 29 29 0d 20 | 20 20 28 63 6c 6f 62 62 |mdF")). | (clobb|
|000030e0| 65 72 20 28 6d 61 74 63 | 68 5f 6f 70 65 72 61 6e |er (matc|h_operan|
|000030f0| 64 3a 53 49 20 31 20 22 | 67 65 6e 65 72 61 6c 5f |d:SI 1 "|general_|
|00003100| 6f 70 65 72 61 6e 64 22 | 20 22 64 22 29 29 5d 0d |operand"| "d"))].|
|00003110| 20 20 22 54 41 52 47 45 | 54 5f 46 50 41 22 0d 20 | "TARGE|T_FPA". |
|00003120| 20 22 66 70 74 73 74 25 | 2e 73 20 25 78 30 5c 3b | "fptst%|.s %x0\;|
|00003130| 66 70 6d 6f 76 65 20 66 | 70 61 73 74 61 74 75 73 |fpmove f|pastatus|
|00003140| 2c 25 31 5c 3b 6d 6f 76 | 77 20 25 31 2c 63 63 22 |,%1\;mov|w %1,cc"|
|00003150| 29 0d 0d 28 64 65 66 69 | 6e 65 5f 69 6e 73 6e 20 |)..(defi|ne_insn |
|00003160| 22 22 0d 20 20 5b 28 73 | 65 74 20 28 63 63 30 29 |"". [(s|et (cc0)|
|00003170| 0d 09 28 6d 61 74 63 68 | 5f 6f 70 65 72 61 6e 64 |..(match|_operand|
|00003180| 3a 53 46 20 30 20 22 67 | 65 6e 65 72 61 6c 5f 6f |:SF 0 "g|eneral_o|
|00003190| 70 65 72 61 6e 64 22 20 | 22 66 64 6d 22 29 29 5d |perand" |"fdm"))]|
|000031a0| 0d 20 20 22 54 41 52 47 | 45 54 5f 36 38 38 38 31 |. "TARG|ET_68881|
|000031b0| 22 0d 20 20 22 2a 0d 7b | 0d 20 20 63 63 5f 73 74 |". "*.{|. cc_st|
|000031c0| 61 74 75 73 2e 66 6c 61 | 67 73 20 3d 20 43 43 5f |atus.fla|gs = CC_|
|000031d0| 49 4e 5f 36 38 38 38 31 | 3b 0d 20 20 69 66 20 28 |IN_68881|;. if (|
|000031e0| 46 50 5f 52 45 47 5f 50 | 20 28 6f 70 65 72 61 6e |FP_REG_P| (operan|
|000031f0| 64 73 5b 30 5d 29 29 0d | 20 20 20 20 72 65 74 75 |ds[0])).| retu|
|00003200| 72 6e 20 5c 22 66 74 73 | 74 25 2e 78 20 25 30 5c |rn \"fts|t%.x %0\|
|00003210| 22 3b 0d 20 20 72 65 74 | 75 72 6e 20 5c 22 66 74 |";. ret|urn \"ft|
|00003220| 73 74 25 2e 73 20 25 30 | 5c 22 3b 0d 7d 22 29 0d |st%.s %0|\";.}").|
|00003230| 0d 28 64 65 66 69 6e 65 | 5f 65 78 70 61 6e 64 20 |.(define|_expand |
|00003240| 22 74 73 74 64 66 22 0d | 20 20 5b 28 73 65 74 20 |"tstdf".| [(set |
|00003250| 28 63 63 30 29 0d 09 28 | 6d 61 74 63 68 5f 6f 70 |(cc0)..(|match_op|
|00003260| 65 72 61 6e 64 3a 44 46 | 20 30 20 22 67 65 6e 65 |erand:DF| 0 "gene|
|00003270| 72 61 6c 5f 6f 70 65 72 | 61 6e 64 22 20 22 22 29 |ral_oper|and" "")|
|00003280| 29 5d 0d 20 20 22 54 41 | 52 47 45 54 5f 36 38 38 |)]. "TA|RGET_688|
|00003290| 38 31 20 7c 7c 20 54 41 | 52 47 45 54 5f 46 50 41 |81 || TA|RGET_FPA|
|000032a0| 22 0d 20 20 22 0d 7b 0d | 20 20 69 66 20 28 54 41 |". ".{.| if (TA|
|000032b0| 52 47 45 54 5f 46 50 41 | 29 0d 20 20 20 20 7b 0d |RGET_FPA|). {.|
|000032c0| 20 20 20 20 20 20 65 6d | 69 74 5f 69 6e 73 6e 20 | em|it_insn |
|000032d0| 28 67 65 6e 5f 72 74 78 | 20 28 50 41 52 41 4c 4c |(gen_rtx| (PARALL|
|000032e0| 45 4c 2c 20 56 4f 49 44 | 6d 6f 64 65 2c 0d 09 09 |EL, VOID|mode,...|
|000032f0| 09 20 20 67 65 6e 5f 72 | 74 76 65 63 20 28 32 2c |. gen_r|tvec (2,|
|00003300| 20 67 65 6e 5f 72 74 78 | 20 28 53 45 54 2c 20 56 | gen_rtx| (SET, V|
|00003310| 4f 49 44 6d 6f 64 65 2c | 0d 09 09 09 09 09 09 20 |OIDmode,|....... |
|00003320| 63 63 30 5f 72 74 78 2c | 20 6f 70 65 72 61 6e 64 |cc0_rtx,| operand|
|00003330| 73 5b 30 5d 29 2c 0d 09 | 09 09 09 20 20 20 20 20 |s[0]),..|... |
|00003340| 67 65 6e 5f 72 74 78 20 | 28 43 4c 4f 42 42 45 52 |gen_rtx |(CLOBBER|
|00003350| 2c 20 56 4f 49 44 6d 6f | 64 65 2c 0d 09 09 09 09 |, VOIDmo|de,.....|
|00003360| 09 20 20 20 20 20 20 67 | 65 6e 5f 72 65 67 5f 72 |. g|en_reg_r|
|00003370| 74 78 20 28 53 49 6d 6f | 64 65 29 29 29 29 29 3b |tx (SImo|de)))));|
|00003380| 0d 20 20 20 20 20 20 44 | 4f 4e 45 3b 0d 20 20 20 |. D|ONE;. |
|00003390| 20 7d 0d 7d 22 29 0d 0d | 28 64 65 66 69 6e 65 5f | }.}")..|(define_|
|000033a0| 69 6e 73 6e 20 22 22 0d | 20 20 5b 28 73 65 74 20 |insn "".| [(set |
|000033b0| 28 63 63 30 29 0d 09 28 | 6d 61 74 63 68 5f 6f 70 |(cc0)..(|match_op|
|000033c0| 65 72 61 6e 64 3a 44 46 | 20 30 20 22 67 65 6e 65 |erand:DF| 0 "gene|
|000033d0| 72 61 6c 5f 6f 70 65 72 | 61 6e 64 22 20 22 78 72 |ral_oper|and" "xr|
|000033e0| 6d 46 22 29 29 0d 20 20 | 20 28 63 6c 6f 62 62 65 |mF")). | (clobbe|
|000033f0| 72 20 28 6d 61 74 63 68 | 5f 6f 70 65 72 61 6e 64 |r (match|_operand|
|00003400| 3a 53 49 20 31 20 22 67 | 65 6e 65 72 61 6c 5f 6f |:SI 1 "g|eneral_o|
|00003410| 70 65 72 61 6e 64 22 20 | 22 64 22 29 29 5d 0d 20 |perand" |"d"))]. |
|00003420| 20 22 54 41 52 47 45 54 | 5f 46 50 41 22 0d 20 20 | "TARGET|_FPA". |
|00003430| 22 66 70 74 73 74 25 2e | 64 20 25 78 30 5c 3b 66 |"fptst%.|d %x0\;f|
|00003440| 70 6d 6f 76 65 20 66 70 | 61 73 74 61 74 75 73 2c |pmove fp|astatus,|
|00003450| 25 31 5c 3b 6d 6f 76 77 | 20 25 31 2c 63 63 22 29 |%1\;movw| %1,cc")|
|00003460| 0d 0d 28 64 65 66 69 6e | 65 5f 69 6e 73 6e 20 22 |..(defin|e_insn "|
|00003470| 22 0d 20 20 5b 28 73 65 | 74 20 28 63 63 30 29 0d |". [(se|t (cc0).|
|00003480| 09 28 6d 61 74 63 68 5f | 6f 70 65 72 61 6e 64 3a |.(match_|operand:|
|00003490| 44 46 20 30 20 22 67 65 | 6e 65 72 61 6c 5f 6f 70 |DF 0 "ge|neral_op|
|000034a0| 65 72 61 6e 64 22 20 22 | 66 6d 22 29 29 5d 0d 20 |erand" "|fm"))]. |
|000034b0| 20 22 54 41 52 47 45 54 | 5f 36 38 38 38 31 22 0d | "TARGET|_68881".|
|000034c0| 20 20 22 2a 0d 7b 0d 20 | 20 63 63 5f 73 74 61 74 | "*.{. | cc_stat|
|000034d0| 75 73 2e 66 6c 61 67 73 | 20 3d 20 43 43 5f 49 4e |us.flags| = CC_IN|
|000034e0| 5f 36 38 38 38 31 3b 0d | 20 20 69 66 20 28 46 50 |_68881;.| if (FP|
|000034f0| 5f 52 45 47 5f 50 20 28 | 6f 70 65 72 61 6e 64 73 |_REG_P (|operands|
|00003500| 5b 30 5d 29 29 0d 20 20 | 20 20 72 65 74 75 72 6e |[0])). | return|
|00003510| 20 5c 22 66 74 73 74 25 | 2e 78 20 25 30 5c 22 3b | \"ftst%|.x %0\";|
|00003520| 0d 20 20 72 65 74 75 72 | 6e 20 5c 22 66 74 73 74 |. retur|n \"ftst|
|00003530| 25 2e 64 20 25 30 5c 22 | 3b 0d 7d 22 29 0d 0c 0d |%.d %0\"|;.}")...|
|00003540| 3b 3b 20 63 6f 6d 70 61 | 72 65 20 69 6e 73 74 72 |;; compa|re instr|
|00003550| 75 63 74 69 6f 6e 73 2e | 0d 0d 3b 3b 20 50 75 74 |uctions.|..;; Put|
|00003560| 20 63 6d 70 73 69 20 66 | 69 72 73 74 20 61 6d 6f | cmpsi f|irst amo|
|00003570| 6e 67 20 63 6f 6d 70 61 | 72 65 20 69 6e 73 6e 73 |ng compa|re insns|
|00003580| 20 73 6f 20 69 74 20 6d | 61 74 63 68 65 73 20 74 | so it m|atches t|
|00003590| 77 6f 20 43 4f 4e 53 54 | 5f 49 4e 54 20 6f 70 65 |wo CONST|_INT ope|
|000035a0| 72 61 6e 64 73 2e 0d 0d | 3b 3b 20 41 20 63 6f 6d |rands...|;; A com|
|000035b0| 70 6f 73 69 74 65 20 6f | 66 20 74 68 65 20 63 6d |posite o|f the cm|
|000035c0| 70 2c 20 63 6d 70 61 2c | 20 26 20 63 6d 70 69 20 |p, cmpa,| & cmpi |
|000035d0| 6d 36 38 30 30 30 20 6f | 70 20 63 6f 64 65 73 2e |m68000 o|p codes.|
|000035e0| 0d 28 64 65 66 69 6e 65 | 5f 69 6e 73 6e 20 22 63 |.(define|_insn "c|
|000035f0| 6d 70 73 69 22 0d 20 20 | 5b 28 73 65 74 20 28 63 |mpsi". |[(set (c|
|00003600| 63 30 29 0d 09 28 63 6f | 6d 70 61 72 65 20 28 6d |c0)..(co|mpare (m|
|00003610| 61 74 63 68 5f 6f 70 65 | 72 61 6e 64 3a 53 49 20 |atch_ope|rand:SI |
|00003620| 30 20 22 67 65 6e 65 72 | 61 6c 5f 6f 70 65 72 61 |0 "gener|al_opera|
|00003630| 6e 64 22 20 22 72 4b 73 | 2c 6d 72 2c 3e 22 29 0d |nd" "rKs|,mr,>").|
|00003640| 09 09 20 28 6d 61 74 63 | 68 5f 6f 70 65 72 61 6e |.. (matc|h_operan|
|00003650| 64 3a 53 49 20 31 20 22 | 67 65 6e 65 72 61 6c 5f |d:SI 1 "|general_|
|00003660| 6f 70 65 72 61 6e 64 22 | 20 22 6d 72 2c 4b 73 72 |operand"| "mr,Ksr|
|00003670| 2c 3e 22 29 29 29 5d 0d | 20 20 22 22 0d 20 20 22 |,>")))].| "". "|
|00003680| 2a 0d 7b 0d 20 20 69 66 | 20 28 47 45 54 5f 43 4f |*.{. if| (GET_CO|
|00003690| 44 45 20 28 6f 70 65 72 | 61 6e 64 73 5b 30 5d 29 |DE (oper|ands[0])|
|000036a0| 20 3d 3d 20 4d 45 4d 20 | 26 26 20 47 45 54 5f 43 | == MEM |&& GET_C|
|000036b0| 4f 44 45 20 28 6f 70 65 | 72 61 6e 64 73 5b 31 5d |ODE (ope|rands[1]|
|000036c0| 29 20 3d 3d 20 4d 45 4d | 29 0d 20 20 20 20 72 65 |) == MEM|). re|
|000036d0| 74 75 72 6e 20 5c 22 63 | 6d 70 6d 25 2e 6c 20 25 |turn \"c|mpm%.l %|
|000036e0| 31 2c 25 30 5c 22 3b 0d | 20 20 69 66 20 28 52 45 |1,%0\";.| if (RE|
|000036f0| 47 5f 50 20 28 6f 70 65 | 72 61 6e 64 73 5b 31 5d |G_P (ope|rands[1]|
|00003700| 29 0d 20 20 20 20 20 20 | 7c 7c 20 28 21 52 45 47 |). ||| (!REG|
|00003710| 5f 50 20 28 6f 70 65 72 | 61 6e 64 73 5b 30 5d 29 |_P (oper|ands[0])|
|00003720| 20 26 26 20 47 45 54 5f | 43 4f 44 45 20 28 6f 70 | && GET_|CODE (op|
|00003730| 65 72 61 6e 64 73 5b 30 | 5d 29 20 21 3d 20 4d 45 |erands[0|]) != ME|
|00003740| 4d 29 29 0d 20 20 20 20 | 7b 20 63 63 5f 73 74 61 |M)). |{ cc_sta|
|00003750| 74 75 73 2e 66 6c 61 67 | 73 20 7c 3d 20 43 43 5f |tus.flag|s |= CC_|
|00003760| 52 45 56 45 52 53 45 44 | 3b 0d 23 69 66 64 65 66 |REVERSED|;.#ifdef|
|00003770| 20 48 50 55 58 5f 41 53 | 4d 0d 20 20 20 20 20 20 | HPUX_AS|M. |
|00003780| 72 65 74 75 72 6e 20 5c | 22 63 6d 70 25 2e 6c 20 |return \|"cmp%.l |
|00003790| 25 64 31 2c 25 64 30 5c | 22 3b 0d 23 65 6c 73 65 |%d1,%d0\|";.#else|
|000037a0| 0d 20 20 20 20 20 20 72 | 65 74 75 72 6e 20 5c 22 |. r|eturn \"|
|000037b0| 63 6d 70 25 2e 6c 20 25 | 64 30 2c 25 64 31 5c 22 |cmp%.l %|d0,%d1\"|
|000037c0| 3b 20 0d 23 65 6e 64 69 | 66 0d 20 20 20 20 7d 0d |; .#endi|f. }.|
|000037d0| 23 69 66 64 65 66 20 48 | 50 55 58 5f 41 53 4d 0d |#ifdef H|PUX_ASM.|
|000037e0| 20 20 72 65 74 75 72 6e | 20 5c 22 63 6d 70 25 2e | return| \"cmp%.|
|000037f0| 6c 20 25 64 30 2c 25 64 | 31 5c 22 3b 0d 23 65 6c |l %d0,%d|1\";.#el|
|00003800| 73 65 0d 20 20 72 65 74 | 75 72 6e 20 5c 22 63 6d |se. ret|urn \"cm|
|00003810| 70 25 2e 6c 20 25 64 31 | 2c 25 64 30 5c 22 3b 0d |p%.l %d1|,%d0\";.|
|00003820| 23 65 6e 64 69 66 0d 7d | 22 29 0d 0d 28 64 65 66 |#endif.}|")..(def|
|00003830| 69 6e 65 5f 69 6e 73 6e | 20 22 63 6d 70 68 69 22 |ine_insn| "cmphi"|
|00003840| 0d 20 20 5b 28 73 65 74 | 20 28 63 63 30 29 0d 09 |. [(set| (cc0)..|
|00003850| 28 63 6f 6d 70 61 72 65 | 20 28 6d 61 74 63 68 5f |(compare| (match_|
|00003860| 6f 70 65 72 61 6e 64 3a | 48 49 20 30 20 22 67 65 |operand:|HI 0 "ge|
|00003870| 6e 65 72 61 6c 5f 6f 70 | 65 72 61 6e 64 22 20 22 |neral_op|erand" "|
|00003880| 72 6e 6d 2c 64 2c 6e 2c | 6d 22 29 0d 09 09 20 28 |rnm,d,n,|m")... (|
|00003890| 6d 61 74 63 68 5f 6f 70 | 65 72 61 6e 64 3a 48 49 |match_op|erand:HI|
|000038a0| 20 31 20 22 67 65 6e 65 | 72 61 6c 5f 6f 70 65 72 | 1 "gene|ral_oper|
|000038b0| 61 6e 64 22 20 22 64 2c | 72 6e 6d 2c 6d 2c 6e 22 |and" "d,|rnm,m,n"|
|000038c0| 29 29 29 5d 0d 20 20 22 | 22 0d 20 20 22 2a 0d 7b |)))]. "|". "*.{|
|000038d0| 0d 20 20 69 66 20 28 47 | 45 54 5f 43 4f 44 45 20 |. if (G|ET_CODE |
|000038e0| 28 6f 70 65 72 61 6e 64 | 73 5b 30 5d 29 20 3d 3d |(operand|s[0]) ==|
|000038f0| 20 4d 45 4d 20 26 26 20 | 47 45 54 5f 43 4f 44 45 | MEM && |GET_CODE|
|00003900| 20 28 6f 70 65 72 61 6e | 64 73 5b 31 5d 29 20 3d | (operan|ds[1]) =|
|00003910| 3d 20 4d 45 4d 29 0d 20 | 20 20 20 72 65 74 75 72 |= MEM). | retur|
|00003920| 6e 20 5c 22 63 6d 70 6d | 25 2e 77 20 25 31 2c 25 |n \"cmpm|%.w %1,%|
|00003930| 30 5c 22 3b 0d 20 20 69 | 66 20 28 28 52 45 47 5f |0\";. i|f ((REG_|
|00003940| 50 20 28 6f 70 65 72 61 | 6e 64 73 5b 31 5d 29 20 |P (opera|nds[1]) |
|00003950| 26 26 20 21 41 44 44 52 | 45 53 53 5f 52 45 47 5f |&& !ADDR|ESS_REG_|
|00003960| 50 20 28 6f 70 65 72 61 | 6e 64 73 5b 31 5d 29 29 |P (opera|nds[1]))|
|00003970| 0d 20 20 20 20 20 20 7c | 7c 20 28 21 52 45 47 5f |. ||| (!REG_|
|00003980| 50 20 28 6f 70 65 72 61 | 6e 64 73 5b 30 5d 29 20 |P (opera|nds[0]) |
|00003990| 26 26 20 47 45 54 5f 43 | 4f 44 45 20 28 6f 70 65 |&& GET_C|ODE (ope|
|000039a0| 72 61 6e 64 73 5b 30 5d | 29 20 21 3d 20 4d 45 4d |rands[0]|) != MEM|
|000039b0| 29 29 0d 20 20 20 20 7b | 20 63 63 5f 73 74 61 74 |)). {| cc_stat|
|000039c0| 75 73 2e 66 6c 61 67 73 | 20 7c 3d 20 43 43 5f 52 |us.flags| |= CC_R|
|000039d0| 45 56 45 52 53 45 44 3b | 0d 23 69 66 64 65 66 20 |EVERSED;|.#ifdef |
|000039e0| 48 50 55 58 5f 41 53 4d | 0d 20 20 20 20 20 20 72 |HPUX_ASM|. r|
|000039f0| 65 74 75 72 6e 20 5c 22 | 63 6d 70 25 2e 77 20 25 |eturn \"|cmp%.w %|
|00003a00| 64 31 2c 25 64 30 5c 22 | 3b 0d 23 65 6c 73 65 0d |d1,%d0\"|;.#else.|
|00003a10| 20 20 20 20 20 20 72 65 | 74 75 72 6e 20 5c 22 63 | re|turn \"c|
|00003a20| 6d 70 25 2e 77 20 25 64 | 30 2c 25 64 31 5c 22 3b |mp%.w %d|0,%d1\";|
|00003a30| 20 0d 23 65 6e 64 69 66 | 0d 20 20 20 20 7d 0d 23 | .#endif|. }.#|
|00003a40| 69 66 64 65 66 20 48 50 | 55 58 5f 41 53 4d 0d 20 |ifdef HP|UX_ASM. |
|00003a50| 20 72 65 74 75 72 6e 20 | 5c 22 63 6d 70 25 2e 77 | return |\"cmp%.w|
|00003a60| 20 25 64 30 2c 25 64 31 | 5c 22 3b 0d 23 65 6c 73 | %d0,%d1|\";.#els|
|00003a70| 65 0d 20 20 72 65 74 75 | 72 6e 20 5c 22 63 6d 70 |e. retu|rn \"cmp|
|00003a80| 25 2e 77 20 25 64 31 2c | 25 64 30 5c 22 3b 0d 23 |%.w %d1,|%d0\";.#|
|00003a90| 65 6e 64 69 66 0d 7d 22 | 29 0d 0d 28 64 65 66 69 |endif.}"|)..(defi|
|00003aa0| 6e 65 5f 69 6e 73 6e 20 | 22 63 6d 70 71 69 22 0d |ne_insn |"cmpqi".|
|00003ab0| 20 20 5b 28 73 65 74 20 | 28 63 63 30 29 0d 09 28 | [(set |(cc0)..(|
|00003ac0| 63 6f 6d 70 61 72 65 20 | 28 6d 61 74 63 68 5f 6f |compare |(match_o|
|00003ad0| 70 65 72 61 6e 64 3a 51 | 49 20 30 20 22 67 65 6e |perand:Q|I 0 "gen|
|00003ae0| 65 72 61 6c 5f 6f 70 65 | 72 61 6e 64 22 20 22 64 |eral_ope|rand" "d|
|00003af0| 6e 2c 6d 64 2c 3e 22 29 | 0d 09 09 20 28 6d 61 74 |n,md,>")|... (mat|
|00003b00| 63 68 5f 6f 70 65 72 61 | 6e 64 3a 51 49 20 31 20 |ch_opera|nd:QI 1 |
|00003b10| 22 67 65 6e 65 72 61 6c | 5f 6f 70 65 72 61 6e 64 |"general|_operand|
|00003b20| 22 20 22 64 6d 2c 6e 64 | 2c 3e 22 29 29 29 5d 0d |" "dm,nd|,>")))].|
|00003b30| 20 20 22 22 0d 20 20 22 | 2a 0d 7b 0d 20 20 69 66 | "". "|*.{. if|
|00003b40| 20 28 47 45 54 5f 43 4f | 44 45 20 28 6f 70 65 72 | (GET_CO|DE (oper|
|00003b50| 61 6e 64 73 5b 30 5d 29 | 20 3d 3d 20 4d 45 4d 20 |ands[0])| == MEM |
|00003b60| 26 26 20 47 45 54 5f 43 | 4f 44 45 20 28 6f 70 65 |&& GET_C|ODE (ope|
|00003b70| 72 61 6e 64 73 5b 31 5d | 29 20 3d 3d 20 4d 45 4d |rands[1]|) == MEM|
|00003b80| 29 0d 20 20 20 20 72 65 | 74 75 72 6e 20 5c 22 63 |). re|turn \"c|
|00003b90| 6d 70 6d 25 2e 62 20 25 | 31 2c 25 30 5c 22 3b 0d |mpm%.b %|1,%0\";.|
|00003ba0| 20 20 69 66 20 28 52 45 | 47 5f 50 20 28 6f 70 65 | if (RE|G_P (ope|
|00003bb0| 72 61 6e 64 73 5b 31 5d | 29 0d 20 20 20 20 20 20 |rands[1]|). |
|00003bc0| 7c 7c 20 28 21 52 45 47 | 5f 50 20 28 6f 70 65 72 ||| (!REG|_P (oper|
|00003bd0| 61 6e 64 73 5b 30 5d 29 | 20 26 26 20 47 45 54 5f |ands[0])| && GET_|
|00003be0| 43 4f 44 45 20 28 6f 70 | 65 72 61 6e 64 73 5b 30 |CODE (op|erands[0|
|00003bf0| 5d 29 20 21 3d 20 4d 45 | 4d 29 29 0d 20 20 20 20 |]) != ME|M)). |
|00003c00| 7b 20 63 63 5f 73 74 61 | 74 75 73 2e 66 6c 61 67 |{ cc_sta|tus.flag|
|00003c10| 73 20 7c 3d 20 43 43 5f | 52 45 56 45 52 53 45 44 |s |= CC_|REVERSED|
|00003c20| 3b 0d 23 69 66 64 65 66 | 20 48 50 55 58 5f 41 53 |;.#ifdef| HPUX_AS|
|00003c30| 4d 0d 20 20 20 20 20 20 | 72 65 74 75 72 6e 20 5c |M. |return \|
|00003c40| 22 63 6d 70 25 2e 62 20 | 25 64 31 2c 25 64 30 5c |"cmp%.b |%d1,%d0\|
|00003c50| 22 3b 0d 23 65 6c 73 65 | 0d 20 20 20 20 20 20 72 |";.#else|. r|
|00003c60| 65 74 75 72 6e 20 5c 22 | 63 6d 70 25 2e 62 20 25 |eturn \"|cmp%.b %|
|00003c70| 64 30 2c 25 64 31 5c 22 | 3b 0d 23 65 6e 64 69 66 |d0,%d1\"|;.#endif|
|00003c80| 0d 20 20 20 20 7d 0d 23 | 69 66 64 65 66 20 48 50 |. }.#|ifdef HP|
|00003c90| 55 58 5f 41 53 4d 0d 20 | 20 72 65 74 75 72 6e 20 |UX_ASM. | return |
|00003ca0| 5c 22 63 6d 70 25 2e 62 | 20 25 64 30 2c 25 64 31 |\"cmp%.b| %d0,%d1|
|00003cb0| 5c 22 3b 0d 23 65 6c 73 | 65 0d 20 20 72 65 74 75 |\";.#els|e. retu|
|00003cc0| 72 6e 20 5c 22 63 6d 70 | 25 2e 62 20 25 64 31 2c |rn \"cmp|%.b %d1,|
|00003cd0| 25 64 30 5c 22 3b 0d 23 | 65 6e 64 69 66 0d 7d 22 |%d0\";.#|endif.}"|
|00003ce0| 29 0d 0d 28 64 65 66 69 | 6e 65 5f 65 78 70 61 6e |)..(defi|ne_expan|
|00003cf0| 64 20 22 63 6d 70 64 66 | 22 0d 20 20 5b 28 73 65 |d "cmpdf|". [(se|
|00003d00| 74 20 28 63 63 30 29 0d | 09 28 63 6f 6d 70 61 72 |t (cc0).|.(compar|
|00003d10| 65 20 28 6d 61 74 63 68 | 5f 6f 70 65 72 61 6e 64 |e (match|_operand|
|00003d20| 3a 44 46 20 30 20 22 67 | 65 6e 65 72 61 6c 5f 6f |:DF 0 "g|eneral_o|
|00003d30| 70 65 72 61 6e 64 22 20 | 22 22 29 0d 09 09 20 28 |perand" |"")... (|
|00003d40| 6d 61 74 63 68 5f 6f 70 | 65 72 61 6e 64 3a 44 46 |match_op|erand:DF|
|00003d50| 20 31 20 22 67 65 6e 65 | 72 61 6c 5f 6f 70 65 72 | 1 "gene|ral_oper|
|00003d60| 61 6e 64 22 20 22 22 29 | 29 29 5d 0d 20 20 22 54 |and" "")|))]. "T|
|00003d70| 41 52 47 45 54 5f 36 38 | 38 38 31 20 7c 7c 20 54 |ARGET_68|881 || T|
|00003d80| 41 52 47 45 54 5f 46 50 | 41 22 0d 20 20 22 0d 7b |ARGET_FP|A". ".{|
|00003d90| 0d 20 20 69 66 20 28 54 | 41 52 47 45 54 5f 46 50 |. if (T|ARGET_FP|
|00003da0| 41 29 0d 20 20 20 20 7b | 0d 20 20 20 20 20 20 72 |A). {|. r|
|00003db0| 74 78 20 73 65 74 20 3d | 20 67 65 6e 5f 72 74 78 |tx set =| gen_rtx|
|00003dc0| 20 28 53 45 54 2c 20 56 | 4f 49 44 6d 6f 64 65 2c | (SET, V|OIDmode,|
|00003dd0| 20 63 63 30 5f 72 74 78 | 2c 0d 09 09 09 20 67 65 | cc0_rtx|,.... ge|
|00003de0| 6e 5f 72 74 78 20 28 43 | 4f 4d 50 41 52 45 2c 20 |n_rtx (C|OMPARE, |
|00003df0| 56 4f 49 44 6d 6f 64 65 | 2c 20 6f 70 65 72 61 6e |VOIDmode|, operan|
|00003e00| 64 73 5b 30 5d 2c 20 6f | 70 65 72 61 6e 64 73 5b |ds[0], o|perands[|
|00003e10| 31 5d 29 29 3b 0d 20 20 | 20 20 20 20 65 6d 69 74 |1]));. | emit|
|00003e20| 5f 69 6e 73 6e 20 28 67 | 65 6e 5f 72 74 78 20 28 |_insn (g|en_rtx (|
|00003e30| 50 41 52 41 4c 4c 45 4c | 2c 20 56 4f 49 44 6d 6f |PARALLEL|, VOIDmo|
|00003e40| 64 65 2c 0d 09 09 20 20 | 20 20 20 20 20 20 20 20 |de,... | |
|00003e50| 67 65 6e 5f 72 74 76 65 | 63 20 28 32 2c 20 73 65 |gen_rtve|c (2, se|
|00003e60| 74 2c 0d 09 09 09 09 20 | 20 20 20 20 67 65 6e 5f |t,..... | gen_|
|00003e70| 72 74 78 20 28 43 4c 4f | 42 42 45 52 2c 20 56 4f |rtx (CLO|BBER, VO|
|00003e80| 49 44 6d 6f 64 65 2c 0d | 09 09 09 09 09 20 20 20 |IDmode,.|..... |
|00003e90| 20 20 20 67 65 6e 5f 72 | 65 67 5f 72 74 78 20 28 | gen_r|eg_rtx (|
|00003ea0| 53 49 6d 6f 64 65 29 29 | 29 29 29 3b 0d 20 20 20 |SImode))|)));. |
|00003eb0| 20 20 20 44 4f 4e 45 3b | 0d 20 20 20 20 7d 0d 7d | DONE;|. }.}|
|00003ec0| 22 29 0d 0d 28 64 65 66 | 69 6e 65 5f 69 6e 73 6e |")..(def|ine_insn|
|00003ed0| 20 22 22 0d 20 20 5b 28 | 73 65 74 20 28 63 63 30 | "". [(|set (cc0|
|00003ee0| 29 0d 09 28 63 6f 6d 70 | 61 72 65 20 28 6d 61 74 |)..(comp|are (mat|
|00003ef0| 63 68 5f 6f 70 65 72 61 | 6e 64 3a 44 46 20 30 20 |ch_opera|nd:DF 0 |
|00003f00| 22 67 65 6e 65 72 61 6c | 5f 6f 70 65 72 61 6e 64 |"general|_operand|
|00003f10| 22 20 22 78 2c 79 22 29 | 0d 09 09 20 28 6d 61 74 |" "x,y")|... (mat|
|00003f20| 63 68 5f 6f 70 65 72 61 | 6e 64 3a 44 46 20 31 20 |ch_opera|nd:DF 1 |
|00003f30| 22 67 65 6e 65 72 61 6c | 5f 6f 70 65 72 61 6e 64 |"general|_operand|
|00003f40| 22 20 22 78 48 2c 72 6d | 46 22 29 29 29 0d 20 20 |" "xH,rm|F"))). |
|00003f50| 20 28 63 6c 6f 62 62 65 | 72 20 28 6d 61 74 63 68 | (clobbe|r (match|
|00003f60| 5f 6f 70 65 72 61 6e 64 | 3a 53 49 20 32 20 22 67 |_operand|:SI 2 "g|
|00003f70| 65 6e 65 72 61 6c 5f 6f | 70 65 72 61 6e 64 22 20 |eneral_o|perand" |
|00003f80| 22 64 2c 64 22 29 29 5d | 0d 20 20 22 54 41 52 47 |"d,d"))]|. "TARG|
|00003f90| 45 54 5f 46 50 41 22 0d | 20 20 22 66 70 63 6d 70 |ET_FPA".| "fpcmp|
|00003fa0| 25 2e 64 20 25 79 31 2c | 25 30 5c 3b 66 70 6d 6f |%.d %y1,|%0\;fpmo|
|00003fb0| 76 65 20 66 70 61 73 74 | 61 74 75 73 2c 25 32 5c |ve fpast|atus,%2\|
|00003fc0| 3b 6d 6f 76 77 20 25 32 | 2c 63 63 22 29 0d 0d 28 |;movw %2|,cc")..(|
|00003fd0| 64 65 66 69 6e 65 5f 69 | 6e 73 6e 20 22 22 0d 20 |define_i|nsn "". |
|00003fe0| 20 5b 28 73 65 74 20 28 | 63 63 30 29 0d 09 28 63 | [(set (|cc0)..(c|
|00003ff0| 6f 6d 70 61 72 65 20 28 | 6d 61 74 63 68 5f 6f 70 |ompare (|match_op|
|00004000| 65 72 61 6e 64 3a 44 46 | 20 30 20 22 67 65 6e 65 |erand:DF| 0 "gene|
|00004010| 72 61 6c 5f 6f 70 65 72 | 61 6e 64 22 20 22 66 2c |ral_oper|and" "f,|
|00004020| 6d 47 22 29 0d 09 09 20 | 28 6d 61 74 63 68 5f 6f |mG")... |(match_o|
|00004030| 70 65 72 61 6e 64 3a 44 | 46 20 31 20 22 67 65 6e |perand:D|F 1 "gen|
|00004040| 65 72 61 6c 5f 6f 70 65 | 72 61 6e 64 22 20 22 66 |eral_ope|rand" "f|
|00004050| 6d 47 2c 66 22 29 29 29 | 5d 0d 20 20 22 54 41 52 |mG,f")))|]. "TAR|
|00004060| 47 45 54 5f 36 38 38 38 | 31 22 0d 20 20 22 2a 0d |GET_6888|1". "*.|
|00004070| 7b 0d 20 20 63 63 5f 73 | 74 61 74 75 73 2e 66 6c |{. cc_s|tatus.fl|
|00004080| 61 67 73 20 3d 20 43 43 | 5f 49 4e 5f 36 38 38 38 |ags = CC|_IN_6888|
|00004090| 31 3b 0d 23 69 66 64 65 | 66 20 48 50 55 58 5f 41 |1;.#ifde|f HPUX_A|
|000040a0| 53 4d 0d 20 20 69 66 20 | 28 52 45 47 5f 50 20 28 |SM. if |(REG_P (|
|000040b0| 6f 70 65 72 61 6e 64 73 | 5b 30 5d 29 29 0d 20 20 |operands|[0])). |
|000040c0| 20 20 7b 0d 20 20 20 20 | 20 20 69 66 20 28 52 45 | {. | if (RE|
|000040d0| 47 5f 50 20 28 6f 70 65 | 72 61 6e 64 73 5b 31 5d |G_P (ope|rands[1]|
|000040e0| 29 29 0d 09 72 65 74 75 | 72 6e 20 5c 22 66 63 6d |))..retu|rn \"fcm|
|000040f0| 70 25 2e 78 20 25 30 2c | 25 31 5c 22 3b 0d 20 20 |p%.x %0,|%1\";. |
|00004100| 20 20 20 20 65 6c 73 65 | 0d 20 20 20 20 20 20 20 | else|. |
|00004110| 20 72 65 74 75 72 6e 20 | 5c 22 66 63 6d 70 25 2e | return |\"fcmp%.|
|00004120| 64 20 25 30 2c 25 66 31 | 5c 22 3b 0d 20 20 20 20 |d %0,%f1|\";. |
|00004130| 7d 0d 20 20 63 63 5f 73 | 74 61 74 75 73 2e 66 6c |}. cc_s|tatus.fl|
|00004140| 61 67 73 20 7c 3d 20 43 | 43 5f 52 45 56 45 52 53 |ags |= C|C_REVERS|
|00004150| 45 44 3b 0d 20 20 72 65 | 74 75 72 6e 20 5c 22 66 |ED;. re|turn \"f|
|00004160| 63 6d 70 25 2e 64 20 25 | 31 2c 25 66 30 5c 22 3b |cmp%.d %|1,%f0\";|
|00004170| 0d 23 65 6c 73 65 0d 20 | 20 69 66 20 28 52 45 47 |.#else. | if (REG|
|00004180| 5f 50 20 28 6f 70 65 72 | 61 6e 64 73 5b 30 5d 29 |_P (oper|ands[0])|
|00004190| 29 0d 20 20 20 20 7b 0d | 20 20 20 20 20 20 69 66 |). {.| if|
|000041a0| 20 28 52 45 47 5f 50 20 | 28 6f 70 65 72 61 6e 64 | (REG_P |(operand|
|000041b0| 73 5b 31 5d 29 29 0d 09 | 72 65 74 75 72 6e 20 5c |s[1]))..|return \|
|000041c0| 22 66 63 6d 70 25 2e 78 | 20 25 31 2c 25 30 5c 22 |"fcmp%.x| %1,%0\"|
|000041d0| 3b 0d 20 20 20 20 20 20 | 65 6c 73 65 0d 20 20 20 |;. |else. |
|000041e0| 20 20 20 20 20 72 65 74 | 75 72 6e 20 5c 22 66 63 | ret|urn \"fc|
|000041f0| 6d 70 25 2e 64 20 25 66 | 31 2c 25 30 5c 22 3b 0d |mp%.d %f|1,%0\";.|
|00004200| 20 20 20 20 7d 0d 20 20 | 63 63 5f 73 74 61 74 75 | }. |cc_statu|
|00004210| 73 2e 66 6c 61 67 73 20 | 7c 3d 20 43 43 5f 52 45 |s.flags ||= CC_RE|
|00004220| 56 45 52 53 45 44 3b 0d | 20 20 72 65 74 75 72 6e |VERSED;.| return|
|00004230| 20 5c 22 66 63 6d 70 25 | 2e 64 20 25 66 30 2c 25 | \"fcmp%|.d %f0,%|
|00004240| 31 5c 22 3b 0d 23 65 6e | 64 69 66 0d 7d 22 29 0d |1\";.#en|dif.}").|
|00004250| 0d 28 64 65 66 69 6e 65 | 5f 65 78 70 61 6e 64 20 |.(define|_expand |
|00004260| 22 63 6d 70 73 66 22 0d | 20 5b 28 73 65 74 20 28 |"cmpsf".| [(set (|
|00004270| 63 63 30 29 0d 20 20 20 | 20 20 20 20 28 63 6f 6d |cc0). | (com|
|00004280| 70 61 72 65 20 28 6d 61 | 74 63 68 5f 6f 70 65 72 |pare (ma|tch_oper|
|00004290| 61 6e 64 3a 53 46 20 30 | 20 22 67 65 6e 65 72 61 |and:SF 0| "genera|
|000042a0| 6c 5f 6f 70 65 72 61 6e | 64 22 20 22 22 29 0d 09 |l_operan|d" "")..|
|000042b0| 09 28 6d 61 74 63 68 5f | 6f 70 65 72 61 6e 64 3a |.(match_|operand:|
|000042c0| 53 46 20 31 20 22 67 65 | 6e 65 72 61 6c 5f 6f 70 |SF 1 "ge|neral_op|
|000042d0| 65 72 61 6e 64 22 20 22 | 22 29 29 29 5d 0d 20 22 |erand" "|")))]. "|
|000042e0| 54 41 52 47 45 54 5f 36 | 38 38 38 31 20 7c 7c 20 |TARGET_6|8881 || |
|000042f0| 54 41 52 47 45 54 5f 46 | 50 41 22 0d 20 22 0d 7b |TARGET_F|PA". ".{|
|00004300| 0d 20 20 69 66 20 28 54 | 41 52 47 45 54 5f 46 50 |. if (T|ARGET_FP|
|00004310| 41 29 0d 20 20 20 20 7b | 0d 20 20 20 20 20 20 72 |A). {|. r|
|00004320| 74 78 20 73 65 74 20 3d | 20 67 65 6e 5f 72 74 78 |tx set =| gen_rtx|
|00004330| 20 28 53 45 54 2c 20 56 | 4f 49 44 6d 6f 64 65 2c | (SET, V|OIDmode,|
|00004340| 20 63 63 30 5f 72 74 78 | 2c 0d 09 09 09 20 67 65 | cc0_rtx|,.... ge|
|00004350| 6e 5f 72 74 78 20 28 43 | 4f 4d 50 41 52 45 2c 20 |n_rtx (C|OMPARE, |
|00004360| 56 4f 49 44 6d 6f 64 65 | 2c 20 6f 70 65 72 61 6e |VOIDmode|, operan|
|00004370| 64 73 5b 30 5d 2c 20 6f | 70 65 72 61 6e 64 73 5b |ds[0], o|perands[|
|00004380| 31 5d 29 29 3b 0d 20 20 | 20 20 20 20 65 6d 69 74 |1]));. | emit|
|00004390| 5f 69 6e 73 6e 20 28 67 | 65 6e 5f 72 74 78 20 28 |_insn (g|en_rtx (|
|000043a0| 50 41 52 41 4c 4c 45 4c | 2c 20 56 4f 49 44 6d 6f |PARALLEL|, VOIDmo|
|000043b0| 64 65 2c 0d 09 09 09 20 | 20 67 65 6e 5f 72 74 76 |de,.... | gen_rtv|
|000043c0| 65 63 20 28 32 2c 20 73 | 65 74 2c 0d 09 09 09 09 |ec (2, s|et,.....|
|000043d0| 20 20 20 20 20 67 65 6e | 5f 72 74 78 20 28 43 4c | gen|_rtx (CL|
|000043e0| 4f 42 42 45 52 2c 20 56 | 4f 49 44 6d 6f 64 65 2c |OBBER, V|OIDmode,|
|000043f0| 0d 09 09 09 09 09 20 20 | 20 20 20 20 67 65 6e 5f |...... | gen_|
|00004400| 72 65 67 5f 72 74 78 28 | 53 49 6d 6f 64 65 29 29 |reg_rtx(|SImode))|
|00004410| 29 29 29 3b 0d 20 20 20 | 20 20 20 44 4f 4e 45 3b |)));. | DONE;|
|00004420| 0d 20 20 20 20 7d 0d 7d | 22 29 0d 0d 28 64 65 66 |. }.}|")..(def|
|00004430| 69 6e 65 5f 69 6e 73 6e | 20 22 22 0d 20 20 5b 28 |ine_insn| "". [(|
|00004440| 73 65 74 20 28 63 63 30 | 29 0d 09 28 63 6f 6d 70 |set (cc0|)..(comp|
|00004450| 61 72 65 20 28 6d 61 74 | 63 68 5f 6f 70 65 72 61 |are (mat|ch_opera|
|00004460| 6e 64 3a 53 46 20 30 20 | 22 67 65 6e 65 72 61 6c |nd:SF 0 |"general|
|00004470| 5f 6f 70 65 72 61 6e 64 | 22 20 22 78 2c 79 22 29 |_operand|" "x,y")|
|00004480| 0d 09 09 20 28 6d 61 74 | 63 68 5f 6f 70 65 72 61 |... (mat|ch_opera|
|00004490| 6e 64 3a 53 46 20 31 20 | 22 67 65 6e 65 72 61 6c |nd:SF 1 |"general|
|000044a0| 5f 6f 70 65 72 61 6e 64 | 22 20 22 78 48 2c 72 6d |_operand|" "xH,rm|
|000044b0| 46 22 29 29 29 0d 20 20 | 20 28 63 6c 6f 62 62 65 |F"))). | (clobbe|
|000044c0| 72 20 28 6d 61 74 63 68 | 5f 6f 70 65 72 61 6e 64 |r (match|_operand|
|000044d0| 3a 53 49 20 32 20 22 67 | 65 6e 65 72 61 6c 5f 6f |:SI 2 "g|eneral_o|
|000044e0| 70 65 72 61 6e 64 22 20 | 22 64 2c 64 22 29 29 5d |perand" |"d,d"))]|
|000044f0| 0d 20 20 22 54 41 52 47 | 45 54 5f 46 50 41 22 0d |. "TARG|ET_FPA".|
|00004500| 20 20 22 66 70 63 6d 70 | 25 2e 73 20 25 77 31 2c | "fpcmp|%.s %w1,|
|00004510| 25 78 30 5c 3b 66 70 6d | 6f 76 65 20 66 70 61 73 |%x0\;fpm|ove fpas|
|00004520| 74 61 74 75 73 2c 25 32 | 5c 3b 6d 6f 76 77 20 25 |tatus,%2|\;movw %|
|00004530| 32 2c 63 63 22 29 0d 0d | 28 64 65 66 69 6e 65 5f |2,cc")..|(define_|
|00004540| 69 6e 73 6e 20 22 22 0d | 20 20 5b 28 73 65 74 20 |insn "".| [(set |
|00004550| 28 63 63 30 29 0d 09 28 | 63 6f 6d 70 61 72 65 20 |(cc0)..(|compare |
|00004560| 28 6d 61 74 63 68 5f 6f | 70 65 72 61 6e 64 3a 53 |(match_o|perand:S|
|00004570| 46 20 30 20 22 67 65 6e | 65 72 61 6c 5f 6f 70 65 |F 0 "gen|eral_ope|
|00004580| 72 61 6e 64 22 20 22 66 | 2c 6d 64 47 22 29 0d 09 |rand" "f|,mdG")..|
|00004590| 09 20 28 6d 61 74 63 68 | 5f 6f 70 65 72 61 6e 64 |. (match|_operand|
|000045a0| 3a 53 46 20 31 20 22 67 | 65 6e 65 72 61 6c 5f 6f |:SF 1 "g|eneral_o|
|000045b0| 70 65 72 61 6e 64 22 20 | 22 66 6d 64 47 2c 66 22 |perand" |"fmdG,f"|
|000045c0| 29 29 29 5d 0d 20 20 22 | 54 41 52 47 45 54 5f 36 |)))]. "|TARGET_6|
|000045d0| 38 38 38 31 22 0d 20 20 | 22 2a 0d 7b 0d 20 20 63 |8881". |"*.{. c|
|000045e0| 63 5f 73 74 61 74 75 73 | 2e 66 6c 61 67 73 20 3d |c_status|.flags =|
|000045f0| 20 43 43 5f 49 4e 5f 36 | 38 38 38 31 3b 0d 23 69 | CC_IN_6|8881;.#i|
|00004600| 66 64 65 66 20 48 50 55 | 58 5f 41 53 4d 0d 20 20 |fdef HPU|X_ASM. |
|00004610| 69 66 20 28 46 50 5f 52 | 45 47 5f 50 20 28 6f 70 |if (FP_R|EG_P (op|
|00004620| 65 72 61 6e 64 73 5b 30 | 5d 29 29 0d 20 20 20 20 |erands[0|])). |
|00004630| 7b 0d 20 20 20 20 20 20 | 69 66 20 28 46 50 5f 52 |{. |if (FP_R|
|00004640| 45 47 5f 50 20 28 6f 70 | 65 72 61 6e 64 73 5b 31 |EG_P (op|erands[1|
|00004650| 5d 29 29 0d 09 72 65 74 | 75 72 6e 20 5c 22 66 63 |]))..ret|urn \"fc|
|00004660| 6d 70 25 2e 78 20 25 30 | 2c 25 31 5c 22 3b 0d 20 |mp%.x %0|,%1\";. |
|00004670| 20 20 20 20 20 65 6c 73 | 65 0d 20 20 20 20 20 20 | els|e. |
|00004680| 20 20 72 65 74 75 72 6e | 20 5c 22 66 63 6d 70 25 | return| \"fcmp%|
|00004690| 2e 73 20 25 30 2c 25 66 | 31 5c 22 3b 0d 20 20 20 |.s %0,%f|1\";. |
|000046a0| 20 7d 0d 20 20 63 63 5f | 73 74 61 74 75 73 2e 66 | }. cc_|status.f|
|000046b0| 6c 61 67 73 20 7c 3d 20 | 43 43 5f 52 45 56 45 52 |lags |= |CC_REVER|
|000046c0| 53 45 44 3b 0d 20 20 72 | 65 74 75 72 6e 20 5c 22 |SED;. r|eturn \"|
|000046d0| 66 63 6d 70 25 2e 73 20 | 25 31 2c 25 66 30 5c 22 |fcmp%.s |%1,%f0\"|
|000046e0| 3b 0d 23 65 6c 73 65 0d | 20 20 69 66 20 28 46 50 |;.#else.| if (FP|
|000046f0| 5f 52 45 47 5f 50 20 28 | 6f 70 65 72 61 6e 64 73 |_REG_P (|operands|
|00004700| 5b 30 5d 29 29 0d 20 20 | 20 20 7b 0d 20 20 20 20 |[0])). | {. |
|00004710| 20 20 69 66 20 28 46 50 | 5f 52 45 47 5f 50 20 28 | if (FP|_REG_P (|
|00004720| 6f 70 65 72 61 6e 64 73 | 5b 31 5d 29 29 0d 09 72 |operands|[1]))..r|
|00004730| 65 74 75 72 6e 20 5c 22 | 66 63 6d 70 25 2e 78 20 |eturn \"|fcmp%.x |
|00004740| 25 31 2c 25 30 5c 22 3b | 0d 20 20 20 20 20 20 65 |%1,%0\";|. e|
|00004750| 6c 73 65 0d 20 20 20 20 | 20 20 20 20 72 65 74 75 |lse. | retu|
|00004760| 72 6e 20 5c 22 66 63 6d | 70 25 2e 73 20 25 66 31 |rn \"fcm|p%.s %f1|
|00004770| 2c 25 30 5c 22 3b 0d 20 | 20 20 20 7d 0d 20 20 63 |,%0\";. | }. c|
|00004780| 63 5f 73 74 61 74 75 73 | 2e 66 6c 61 67 73 20 7c |c_status|.flags ||
|00004790| 3d 20 43 43 5f 52 45 56 | 45 52 53 45 44 3b 0d 20 |= CC_REV|ERSED;. |
|000047a0| 20 72 65 74 75 72 6e 20 | 5c 22 66 63 6d 70 25 2e | return |\"fcmp%.|
|000047b0| 73 20 25 66 30 2c 25 31 | 5c 22 3b 0d 23 65 6e 64 |s %f0,%1|\";.#end|
|000047c0| 69 66 0d 7d 22 29 0d 0c | 0d 3b 3b 20 52 65 63 6f |if.}")..|.;; Reco|
|000047d0| 67 6e 69 7a 65 72 73 20 | 66 6f 72 20 62 74 73 74 |gnizers |for btst|
|000047e0| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 73 2e 0d 0d | instruc|tions...|
|000047f0| 28 64 65 66 69 6e 65 5f | 69 6e 73 6e 20 22 22 0d |(define_|insn "".|
|00004800| 20 20 5b 28 73 65 74 20 | 28 63 63 30 29 20 28 7a | [(set |(cc0) (z|
|00004810| 65 72 6f 5f 65 78 74 72 | 61 63 74 20 28 6d 61 74 |ero_extr|act (mat|
|00004820| 63 68 5f 6f 70 65 72 61 | 6e 64 3a 51 49 20 30 20 |ch_opera|nd:QI 0 |
|00004830| 22 6e 6f 6e 69 6d 6d 65 | 64 69 61 74 65 5f 6f 70 |"nonimme|diate_op|
|00004840| 65 72 61 6e 64 22 20 22 | 64 6f 22 29 0d 09 09 09 |erand" "|do")....|
|00004850| 20 20 20 20 28 63 6f 6e | 73 74 5f 69 6e 74 20 31 | (con|st_int 1|
|00004860| 29 0d 09 09 09 20 20 20 | 20 28 6d 69 6e 75 73 3a |).... | (minus:|
|00004870| 53 49 20 28 63 6f 6e 73 | 74 5f 69 6e 74 20 37 29 |SI (cons|t_int 7)|
|00004880| 0d 09 09 09 09 20 20 20 | 20 20 20 28 6d 61 74 63 |..... | (matc|
|00004890| 68 5f 6f 70 65 72 61 6e | 64 3a 53 49 20 31 20 22 |h_operan|d:SI 1 "|
|000048a0| 67 65 6e 65 72 61 6c 5f | 6f 70 65 72 61 6e 64 22 |general_|operand"|
|000048b0| 20 22 64 69 22 29 29 29 | 29 5d 0d 20 20 22 22 0d | "di")))|)]. "".|
|000048c0| 20 20 22 2a 20 7b 20 72 | 65 74 75 72 6e 20 6f 75 | "* { r|eturn ou|
|000048d0| 74 70 75 74 5f 62 74 73 | 74 20 28 6f 70 65 72 61 |tput_bts|t (opera|
|000048e0| 6e 64 73 2c 20 6f 70 65 | 72 61 6e 64 73 5b 31 5d |nds, ope|rands[1]|
|000048f0| 2c 20 6f 70 65 72 61 6e | 64 73 5b 30 5d 2c 20 69 |, operan|ds[0], i|
|00004900| 6e 73 6e 2c 20 37 29 3b | 20 7d 22 29 0d 0d 28 64 |nsn, 7);| }")..(d|
|00004910| 65 66 69 6e 65 5f 69 6e | 73 6e 20 22 22 0d 20 20 |efine_in|sn "". |
|00004920| 5b 28 73 65 74 20 28 63 | 63 30 29 20 28 7a 65 72 |[(set (c|c0) (zer|
|00004930| 6f 5f 65 78 74 72 61 63 | 74 20 28 6d 61 74 63 68 |o_extrac|t (match|
|00004940| 5f 6f 70 65 72 61 6e 64 | 3a 53 49 20 30 20 22 6e |_operand|:SI 0 "n|
|00004950| 6f 6e 69 6d 6d 65 64 69 | 61 74 65 5f 6f 70 65 72 |onimmedi|ate_oper|
|00004960| 61 6e 64 22 20 22 64 22 | 29 0d 09 09 09 20 20 20 |and" "d"|).... |
|00004970| 20 28 63 6f 6e 73 74 5f | 69 6e 74 20 31 29 0d 09 | (const_|int 1)..|
|00004980| 09 09 20 20 20 20 28 6d | 69 6e 75 73 3a 53 49 20 |.. (m|inus:SI |
|00004990| 28 63 6f 6e 73 74 5f 69 | 6e 74 20 33 31 29 0d 09 |(const_i|nt 31)..|
|000049a0| 09 09 09 20 20 20 20 20 | 20 28 6d 61 74 63 68 5f |... | (match_|
|000049b0| 6f 70 65 72 61 6e 64 3a | 53 49 20 31 20 22 67 65 |operand:|SI 1 "ge|
|000049c0| 6e 65 72 61 6c 5f 6f 70 | 65 72 61 6e 64 22 20 22 |neral_op|erand" "|
|000049d0| 64 69 22 29 29 29 29 5d | 0d 20 20 22 22 0d 20 20 |di"))))]|. "". |
|000049e0| 22 2a 20 7b 20 72 65 74 | 75 72 6e 20 6f 75 74 70 |"* { ret|urn outp|
|000049f0| 75 74 5f 62 74 73 74 20 | 28 6f 70 65 72 61 6e 64 |ut_btst |(operand|
|00004a00| 73 2c 20 6f 70 65 72 61 | 6e 64 73 5b 31 5d 2c 20 |s, opera|nds[1], |
|00004a10| 6f 70 65 72 61 6e 64 73 | 5b 30 5d 2c 20 69 6e 73 |operands|[0], ins|
|00004a20| 6e 2c 20 33 31 29 3b 20 | 7d 22 29 0d 0d 3b 3b 20 |n, 31); |}")..;; |
|00004a30| 54 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 74 77 |The foll|owing tw|
|00004a40| 6f 20 70 61 74 74 65 72 | 6e 73 20 61 72 65 20 6c |o patter|ns are l|
|00004a50| 69 6b 65 20 74 68 65 20 | 70 72 65 76 69 6f 75 73 |ike the |previous|
|00004a60| 20 74 77 6f 0d 3b 3b 20 | 65 78 63 65 70 74 20 74 | two.;; |except t|
|00004a70| 68 61 74 20 74 68 65 79 | 20 75 73 65 20 74 68 65 |hat they| use the|
|00004a80| 20 66 61 63 74 20 74 68 | 61 74 20 62 69 74 2d 6e | fact th|at bit-n|
|00004a90| 75 6d 62 65 72 20 6f 70 | 65 72 61 6e 64 73 0d 3b |umber op|erands.;|
|00004aa0| 3b 20 61 72 65 20 61 75 | 74 6f 6d 61 74 69 63 61 |; are au|tomatica|
|00004ab0| 6c 6c 79 20 6d 61 73 6b | 65 64 20 74 6f 20 33 20 |lly mask|ed to 3 |
|00004ac0| 6f 72 20 35 20 62 69 74 | 73 2e 0d 0d 28 64 65 66 |or 5 bit|s...(def|
|00004ad0| 69 6e 65 5f 69 6e 73 6e | 20 22 22 0d 20 20 5b 28 |ine_insn| "". [(|
|00004ae0| 73 65 74 20 28 63 63 30 | 29 20 28 7a 65 72 6f 5f |set (cc0|) (zero_|
|00004af0| 65 78 74 72 61 63 74 20 | 28 6d 61 74 63 68 5f 6f |extract |(match_o|
|00004b00| 70 65 72 61 6e 64 3a 51 | 49 20 30 20 22 6e 6f 6e |perand:Q|I 0 "non|
|00004b10| 69 6d 6d 65 64 69 61 74 | 65 5f 6f 70 65 72 61 6e |immediat|e_operan|
|00004b20| 64 22 20 22 64 6f 22 29 | 0d 09 09 09 20 20 20 20 |d" "do")|.... |
|00004b30| 28 63 6f 6e 73 74 5f 69 | 6e 74 20 31 29 0d 09 09 |(const_i|nt 1)...|
|00004b40| 09 20 20 20 20 28 6d 69 | 6e 75 73 3a 53 49 20 28 |. (mi|nus:SI (|
|00004b50| 63 6f 6e 73 74 5f 69 6e | 74 20 37 29 0d 09 09 09 |const_in|t 7)....|
|00004b60| 09 20 20 20 20 20 20 28 | 61 6e 64 3a 53 49 0d 09 |. (|and:SI..|
|00004b70| 09 09 09 20 20 20 20 20 | 20 20 28 6d 61 74 63 68 |... | (match|
|00004b80| 5f 6f 70 65 72 61 6e 64 | 3a 53 49 20 31 20 22 67 |_operand|:SI 1 "g|
|00004b90| 65 6e 65 72 61 6c 5f 6f | 70 65 72 61 6e 64 22 20 |eneral_o|perand" |
|00004ba0| 22 64 22 29 0d 09 09 09 | 09 20 20 20 20 20 20 20 |"d")....|. |
|00004bb0| 28 63 6f 6e 73 74 5f 69 | 6e 74 20 37 29 29 29 29 |(const_i|nt 7))))|
|00004bc0| 29 5d 0d 20 20 22 22 0d | 20 20 22 2a 20 7b 20 72 |)]. "".| "* { r|
|00004bd0| 65 74 75 72 6e 20 6f 75 | 74 70 75 74 5f 62 74 73 |eturn ou|tput_bts|
|00004be0| 74 20 28 6f 70 65 72 61 | 6e 64 73 2c 20 6f 70 65 |t (opera|nds, ope|
|00004bf0| 72 61 6e 64 73 5b 31 5d | 2c 20 6f 70 65 72 61 6e |rands[1]|, operan|
|00004c00| 64 73 5b 30 5d 2c 20 69 | 6e 73 6e 2c 20 37 29 3b |ds[0], i|nsn, 7);|
|00004c10| 20 7d 22 29 0d 0d 28 64 | 65 66 69 6e 65 5f 69 6e | }")..(d|efine_in|
|00004c20| 73 6e 20 22 22 0d 20 20 | 5b 28 73 65 74 20 28 63 |sn "". |[(set (c|
|00004c30| 63 30 29 20 28 7a 65 72 | 6f 5f 65 78 74 72 61 63 |c0) (zer|o_extrac|
|00004c40| 74 20 28 6d 61 74 63 68 | 5f 6f 70 65 72 61 6e 64 |t (match|_operand|
|00004c50| 3a 53 49 20 30 20 22 6e | 6f 6e 69 6d 6d 65 64 69 |:SI 0 "n|onimmedi|
|00004c60| 61 74 65 5f 6f 70 65 72 | 61 6e 64 22 20 22 64 22 |ate_oper|and" "d"|
|00004c70| 29 0d 09 09 09 20 20 20 | 20 28 63 6f 6e 73 74 5f |).... | (const_|
|00004c80| 69 6e 74 20 31 29 0d 09 | 09 09 20 20 20 20 28 6d |int 1)..|.. (m|
|00004c90| 69 6e 75 73 3a 53 49 20 | 28 63 6f 6e 73 74 5f 69 |inus:SI |(const_i|
|00004ca0| 6e 74 20 33 31 29 0d 09 | 09 09 09 20 20 20 20 20 |nt 31)..|... |
|00004cb0| 20 28 61 6e 64 3a 53 49 | 0d 09 09 09 09 20 20 20 | (and:SI|..... |
|00004cc0| 20 20 20 20 28 6d 61 74 | 63 68 5f 6f 70 65 72 61 | (mat|ch_opera|
|00004cd0| 6e 64 3a 53 49 20 31 20 | 22 67 65 6e 65 72 61 6c |nd:SI 1 |"general|
|00004ce0| 5f 6f 70 65 72 61 6e 64 | 22 20 22 64 22 29 0d 09 |_operand|" "d")..|
|00004cf0| 09 09 09 20 20 20 20 20 | 20 20 28 63 6f 6e 73 74 |... | (const|
|00004d00| 5f 69 6e 74 20 33 31 29 | 29 29 29 29 5d 0d 20 20 |_int 31)|))))]. |
|00004d10| 22 22 0d 20 20 22 2a 20 | 7b 20 72 65 74 75 72 6e |"". "* |{ return|
|00004d20| 20 6f 75 74 70 75 74 5f | 62 74 73 74 20 28 6f 70 | output_|btst (op|
|00004d30| 65 72 61 6e 64 73 2c 20 | 6f 70 65 72 61 6e 64 73 |erands, |operands|
|00004d40| 5b 31 5d 2c 20 6f 70 65 | 72 61 6e 64 73 5b 30 5d |[1], ope|rands[0]|
|00004d50| 2c 20 69 6e 73 6e 2c 20 | 33 31 29 3b 20 7d 22 29 |, insn, |31); }")|
|00004d60| 0d 0d 3b 3b 20 4e 6f 6e | 6f 66 66 73 65 74 74 61 |..;; Non|offsetta|
|00004d70| 62 6c 65 20 6d 65 6d 20 | 72 65 66 73 20 61 72 65 |ble mem |refs are|
|00004d80| 20 6f 6b 20 69 6e 20 74 | 68 69 73 20 6f 6e 65 20 | ok in t|his one |
|00004d90| 70 61 74 74 65 72 6e 0d | 3b 3b 20 73 69 6e 63 65 |pattern.|;; since|
|00004da0| 20 77 65 20 64 6f 6e 27 | 74 20 74 72 79 20 74 6f | we don'|t try to|
|00004db0| 20 61 64 6a 75 73 74 20 | 74 68 65 6d 2e 0d 28 64 | adjust |them..(d|
|00004dc0| 65 66 69 6e 65 5f 69 6e | 73 6e 20 22 22 0d 20 20 |efine_in|sn "". |
|00004dd0| 5b 28 73 65 74 20 28 63 | 63 30 29 20 28 7a 65 72 |[(set (c|c0) (zer|
|00004de0| 6f 5f 65 78 74 72 61 63 | 74 20 28 6d 61 74 63 68 |o_extrac|t (match|
|00004df0| 5f 6f 70 65 72 61 6e 64 | 3a 51 49 20 30 20 22 6e |_operand|:QI 0 "n|
|00004e00| 6f 6e 69 6d 6d 65 64 69 | 61 74 65 5f 6f 70 65 72 |onimmedi|ate_oper|
|00004e10| 61 6e 64 22 20 22 6d 64 | 22 29 0d 09 09 09 20 20 |and" "md|").... |
|00004e20| 20 20 28 63 6f 6e 73 74 | 5f 69 6e 74 20 31 29 0d | (const|_int 1).|
|00004e30| 09 09 09 20 20 20 20 28 | 6d 61 74 63 68 5f 6f 70 |... (|match_op|
|00004e40| 65 72 61 6e 64 3a 53 49 | 20 31 20 22 67 65 6e 65 |erand:SI| 1 "gene|
|00004e50| 72 61 6c 5f 6f 70 65 72 | 61 6e 64 22 20 22 69 22 |ral_oper|and" "i"|
|00004e60| 29 29 29 5d 0d 20 20 22 | 47 45 54 5f 43 4f 44 45 |)))]. "|GET_CODE|
|00004e70| 20 28 6f 70 65 72 61 6e | 64 73 5b 31 5d 29 20 3d | (operan|ds[1]) =|
|00004e80| 3d 20 43 4f 4e 53 54 5f | 49 4e 54 0d 20 20 20 26 |= CONST_|INT. &|
|00004e90| 26 20 28 75 6e 73 69 67 | 6e 65 64 29 20 49 4e 54 |& (unsig|ned) INT|
|00004ea0| 56 41 4c 20 28 6f 70 65 | 72 61 6e 64 73 5b 31 5d |VAL (ope|rands[1]|
|00004eb0| 29 20 3c 20 38 22 0d 20 | 20 22 2a 0d 7b 0d 20 20 |) < 8". | "*.{. |
|00004ec0| 6f 70 65 72 61 6e 64 73 | 5b 31 5d 20 3d 20 67 65 |operands|[1] = ge|
|00004ed0| 6e 5f 72 74 78 20 28 43 | 4f 4e 53 54 5f 49 4e 54 |n_rtx (C|ONST_INT|
|00004ee0| 2c 20 56 4f 49 44 6d 6f | 64 65 2c 20 37 20 2d 20 |, VOIDmo|de, 7 - |
|00004ef0| 49 4e 54 56 41 4c 20 28 | 6f 70 65 72 61 6e 64 73 |INTVAL (|operands|
|00004f00| 5b 31 5d 29 29 3b 0d 20 | 20 72 65 74 75 72 6e 20 |[1]));. | return |
|00004f10| 6f 75 74 70 75 74 5f 62 | 74 73 74 20 28 6f 70 65 |output_b|tst (ope|
|00004f20| 72 61 6e 64 73 2c 20 6f | 70 65 72 61 6e 64 73 5b |rands, o|perands[|
|00004f30| 31 5d 2c 20 6f 70 65 72 | 61 6e 64 73 5b 30 5d 2c |1], oper|ands[0],|
|00004f40| 20 69 6e 73 6e 2c 20 37 | 29 3b 0d 7d 22 29 0d 0d | insn, 7|);.}")..|
|00004f50| 28 64 65 66 69 6e 65 5f | 69 6e 73 6e 20 22 22 0d |(define_|insn "".|
|00004f60| 20 20 3b 3b 20 54 68 65 | 20 63 6f 6e 73 74 72 61 | ;; The| constra|
|00004f70| 69 6e 74 20 22 6f 2c 64 | 22 20 68 65 72 65 20 6d |int "o,d|" here m|
|00004f80| 65 61 6e 73 20 74 68 61 | 74 20 61 20 6e 6f 6e 6f |eans tha|t a nono|
|00004f90| 66 66 73 65 74 74 61 62 | 6c 65 20 6d 65 6d 72 65 |ffsettab|le memre|
|00004fa0| 66 0d 20 20 3b 3b 20 77 | 69 6c 6c 20 6d 61 74 63 |f. ;; w|ill matc|
|00004fb0| 68 20 74 68 65 20 66 69 | 72 73 74 20 61 6c 74 65 |h the fi|rst alte|
|00004fc0| 72 6e 61 74 69 76 65 2c | 20 61 6e 64 20 69 74 73 |rnative,| and its|
|00004fd0| 20 61 64 64 72 65 73 73 | 20 77 69 6c 6c 20 62 65 | address| will be|
|00004fe0| 20 72 65 6c 6f 61 64 65 | 64 2e 0d 20 20 3b 3b 20 | reloade|d.. ;; |
|00004ff0| 43 6f 70 79 69 6e 67 20 | 74 68 65 20 6d 65 6d 6f |Copying |the memo|
|00005000| 72 79 20 63 6f 6e 74 65 | 6e 74 73 20 69 6e 74 6f |ry conte|nts into|
|00005010| 20 61 20 72 65 67 20 77 | 6f 75 6c 64 20 62 65 20 | a reg w|ould be |
|00005020| 69 6e 63 6f 72 72 65 63 | 74 20 69 66 20 74 68 65 |incorrec|t if the|
|00005030| 0d 20 20 3b 3b 20 62 69 | 74 20 70 6f 73 69 74 69 |. ;; bi|t positi|
|00005040| 6f 6e 20 69 73 20 6f 76 | 65 72 20 37 2e 0d 20 20 |on is ov|er 7.. |
|00005050| 5b 28 73 65 74 20 28 63 | 63 30 29 20 28 7a 65 72 |[(set (c|c0) (zer|
|00005060| 6f 5f 65 78 74 72 61 63 | 74 20 28 6d 61 74 63 68 |o_extrac|t (match|
|00005070| 5f 6f 70 65 72 61 6e 64 | 3a 48 49 20 30 20 22 6e |_operand|:HI 0 "n|
|00005080| 6f 6e 69 6d 6d 65 64 69 | 61 74 65 5f 6f 70 65 72 |onimmedi|ate_oper|
|00005090| 61 6e 64 22 20 22 6f 2c | 64 22 29 0d 09 09 09 20 |and" "o,|d").... |
|000050a0| 20 20 20 28 63 6f 6e 73 | 74 5f 69 6e 74 20 31 29 | (cons|t_int 1)|
|000050b0| 0d 09 09 09 20 20 20 20 | 28 6d 61 74 63 68 5f 6f |.... |(match_o|
|000050c0| 70 65 72 61 6e 64 3a 53 | 49 20 31 20 22 67 65 6e |perand:S|I 1 "gen|
|000050d0| 65 72 61 6c 5f 6f 70 65 | 72 61 6e 64 22 20 22 69 |eral_ope|rand" "i|
|000050e0| 2c 69 22 29 29 29 5d 0d | 20 20 22 47 45 54 5f 43 |,i")))].| "GET_C|
|000050f0| 4f 44 45 20 28 6f 70 65 | 72 61 6e 64 73 5b 31 5d |ODE (ope|rands[1]|
|00005100| 29 20 3d 3d 20 43 4f 4e | 53 54 5f 49 4e 54 22 0d |) == CON|ST_INT".|
|00005110| 20 20 22 2a 0d 7b 0d 20 | 20 69 66 20 28 47 45 54 | "*.{. | if (GET|
|00005120| 5f 43 4f 44 45 20 28 6f | 70 65 72 61 6e 64 73 5b |_CODE (o|perands[|
|00005130| 30 5d 29 20 3d 3d 20 4d | 45 4d 29 0d 20 20 20 20 |0]) == M|EM). |
|00005140| 7b 0d 20 20 20 20 20 20 | 6f 70 65 72 61 6e 64 73 |{. |operands|
|00005150| 5b 30 5d 20 3d 20 61 64 | 6a 5f 6f 66 66 73 65 74 |[0] = ad|j_offset|
|00005160| 74 61 62 6c 65 5f 6f 70 | 65 72 61 6e 64 20 28 6f |table_op|erand (o|
|00005170| 70 65 72 61 6e 64 73 5b | 30 5d 2c 0d 09 09 09 09 |perands[|0],.....|
|00005180| 09 20 20 20 20 20 49 4e | 54 56 41 4c 20 28 6f 70 |. IN|TVAL (op|
|00005190| 65 72 61 6e 64 73 5b 31 | 5d 29 20 2f 20 38 29 3b |erands[1|]) / 8);|
|000051a0| 0d 20 20 20 20 20 20 6f | 70 65 72 61 6e 64 73 5b |. o|perands[|
|000051b0| 31 5d 20 3d 20 67 65 6e | 5f 72 74 78 20 28 43 4f |1] = gen|_rtx (CO|
|000051c0| 4e 53 54 5f 49 4e 54 2c | 20 56 4f 49 44 6d 6f 64 |NST_INT,| VOIDmod|
|000051d0| 65 2c 20 0d 09 09 09 20 | 20 20 20 20 37 20 2d 20 |e, .... | 7 - |
|000051e0| 49 4e 54 56 41 4c 20 28 | 6f 70 65 72 61 6e 64 73 |INTVAL (|operands|
|000051f0| 5b 31 5d 29 20 25 20 38 | 29 3b 0d 20 20 20 20 20 |[1]) % 8|);. |
|00005200| 20 72 65 74 75 72 6e 20 | 6f 75 74 70 75 74 5f 62 | return |output_b|
|00005210| 74 73 74 20 28 6f 70 65 | 72 61 6e 64 73 2c 20 6f |tst (ope|rands, o|
|00005220| 70 65 72 61 6e 64 73 5b | 31 5d 2c 20 6f 70 65 72 |perands[|1], oper|
|00005230| 61 6e 64 73 5b 30 5d 2c | 20 69 6e 73 6e 2c 20 37 |ands[0],| insn, 7|
|00005240| 29 3b 0d 20 20 20 20 7d | 0d 20 20 6f 70 65 72 61 |);. }|. opera|
|00005250| 6e 64 73 5b 31 5d 20 3d | 20 67 65 6e 5f 72 74 78 |nds[1] =| gen_rtx|
|00005260| 20 28 43 4f 4e 53 54 5f | 49 4e 54 2c 20 56 4f 49 | (CONST_|INT, VOI|
|00005270| 44 6d 6f 64 65 2c 0d 09 | 09 09 20 31 35 20 2d 20 |Dmode,..|.. 15 - |
|00005280| 49 4e 54 56 41 4c 20 28 | 6f 70 65 72 61 6e 64 73 |INTVAL (|operands|
|00005290| 5b 31 5d 29 29 3b 0d 20 | 20 72 65 74 75 72 6e 20 |[1]));. | return |
|000052a0| 6f 75 74 70 75 74 5f 62 | 74 73 74 20 28 6f 70 65 |output_b|tst (ope|
|000052b0| 72 61 6e 64 73 2c 20 6f | 70 65 72 61 6e 64 73 5b |rands, o|perands[|
|000052c0| 31 5d 2c 20 6f 70 65 72 | 61 6e 64 73 5b 30 5d 2c |1], oper|ands[0],|
|000052d0| 20 69 6e 73 6e 2c 20 31 | 35 29 3b 0d 7d 22 29 0d | insn, 1|5);.}").|
|000052e0| 0d 28 64 65 66 69 6e 65 | 5f 69 6e 73 6e 20 22 22 |.(define|_insn ""|
|000052f0| 0d 20 20 5b 28 73 65 74 | 20 28 63 63 30 29 20 28 |. [(set| (cc0) (|
|00005300| 7a 65 72 6f 5f 65 78 74 | 72 61 63 74 20 28 6d 61 |zero_ext|ract (ma|
|00005310| 74 63 68 5f 6f 70 65 72 | 61 6e 64 3a 53 49 20 30 |tch_oper|and:SI 0|
|00005320| 20 22 6e 6f 6e 69 6d 6d | 65 64 69 61 74 65 5f 6f | "nonimm|ediate_o|
|00005330| 70 65 72 61 6e 64 22 20 | 22 64 6f 22 29 0d 09 09 |perand" |"do")...|
|00005340| 09 20 20 20 20 28 63 6f | 6e 73 74 5f 69 6e 74 20 |. (co|nst_int |
|00005350| 31 29 0d 09 09 09 20 20 | 20 20 28 6d 61 74 63 68 |1).... | (match|
|00005360| 5f 6f 70 65 72 61 6e 64 | 3a 53 49 20 31 20 22 67 |_operand|:SI 1 "g|
|00005370| 65 6e 65 72 61 6c 5f 6f | 70 65 72 61 6e 64 22 20 |eneral_o|perand" |
|00005380| 22 69 22 29 29 29 5d 0d | 20 20 22 47 45 54 5f 43 |"i")))].| "GET_C|
|00005390| 4f 44 45 20 28 6f 70 65 | 72 61 6e 64 73 5b 31 5d |ODE (ope|rands[1]|
|000053a0| 29 20 3d 3d 20 43 4f 4e | 53 54 5f 49 4e 54 22 0d |) == CON|ST_INT".|
|000053b0| 20 20 22 2a 0d 7b 0d 20 | 20 69 66 20 28 47 45 54 | "*.{. | if (GET|
|000053c0| 5f 43 4f 44 45 20 28 6f | 70 65 72 61 6e 64 73 5b |_CODE (o|perands[|
|000053d0| 30 5d 29 20 3d 3d 20 4d | 45 4d 29 0d 20 20 20 20 |0]) == M|EM). |
|000053e0| 7b 0d 20 20 20 20 20 20 | 6f 70 65 72 61 6e 64 73 |{. |operands|
|000053f0| 5b 30 5d 20 3d 20 61 64 | 6a 5f 6f 66 66 73 65 74 |[0] = ad|j_offset|
|00005400| 74 61 62 6c 65 5f 6f 70 | 65 72 61 6e 64 20 28 6f |table_op|erand (o|
|00005410| 70 65 72 61 6e 64 73 5b | 30 5d 2c 0d 09 09 09 09 |perands[|0],.....|
|00005420| 09 20 20 20 20 20 49 4e | 54 56 41 4c 20 28 6f 70 |. IN|TVAL (op|
|00005430| 65 72 61 6e 64 73 5b 31 | 5d 29 20 2f 20 38 29 3b |erands[1|]) / 8);|
|00005440| 0d 20 20 20 20 20 20 6f | 70 65 72 61 6e 64 73 5b |. o|perands[|
|00005450| 31 5d 20 3d 20 67 65 6e | 5f 72 74 78 20 28 43 4f |1] = gen|_rtx (CO|
|00005460| 4e 53 54 5f 49 4e 54 2c | 20 56 4f 49 44 6d 6f 64 |NST_INT,| VOIDmod|
|00005470| 65 2c 20 0d 09 09 09 20 | 20 20 20 20 37 20 2d 20 |e, .... | 7 - |
|00005480| 49 4e 54 56 41 4c 20 28 | 6f 70 65 72 61 6e 64 73 |INTVAL (|operands|
|00005490| 5b 31 5d 29 20 25 20 38 | 29 3b 0d 20 20 20 20 20 |[1]) % 8|);. |
|000054a0| 20 72 65 74 75 72 6e 20 | 6f 75 74 70 75 74 5f 62 | return |output_b|
|000054b0| 74 73 74 20 28 6f 70 65 | 72 61 6e 64 73 2c 20 6f |tst (ope|rands, o|
|000054c0| 70 65 72 61 6e 64 73 5b | 31 5d 2c 20 6f 70 65 72 |perands[|1], oper|
|000054d0| 61 6e 64 73 5b 30 5d 2c | 20 69 6e 73 6e 2c 20 37 |ands[0],| insn, 7|
|000054e0| 29 3b 0d 20 20 20 20 7d | 0d 20 20 6f 70 65 72 61 |);. }|. opera|
|000054f0| 6e 64 73 5b 31 5d 20 3d | 20 67 65 6e 5f 72 74 78 |nds[1] =| gen_rtx|
|00005500| 20 28 43 4f 4e 53 54 5f | 49 4e 54 2c 20 56 4f 49 | (CONST_|INT, VOI|
|00005510| 44 6d 6f 64 65 2c 0d 09 | 09 09 20 33 31 20 2d 20 |Dmode,..|.. 31 - |
|00005520| 49 4e 54 56 41 4c 20 28 | 6f 70 65 72 61 6e 64 73 |INTVAL (|operands|
|00005530| 5b 31 5d 29 29 3b 0d 20 | 20 72 65 74 75 72 6e 20 |[1]));. | return |
|00005540| 6f 75 74 70 75 74 5f 62 | 74 73 74 20 28 6f 70 65 |output_b|tst (ope|
|00005550| 72 61 6e 64 73 2c 20 6f | 70 65 72 61 6e 64 73 5b |rands, o|perands[|
|00005560| 31 5d 2c 20 6f 70 65 72 | 61 6e 64 73 5b 30 5d 2c |1], oper|ands[0],|
|00005570| 20 69 6e 73 6e 2c 20 33 | 31 29 3b 0d 7d 22 29 0d | insn, 3|1);.}").|
|00005580| 0d 28 64 65 66 69 6e 65 | 5f 69 6e 73 6e 20 22 22 |.(define|_insn ""|
|00005590| 0d 20 20 5b 28 73 65 74 | 20 28 63 63 30 29 20 28 |. [(set| (cc0) (|
|000055a0| 73 75 62 72 65 67 3a 53 | 49 20 28 6c 73 68 69 66 |subreg:S|I (lshif|
|000055b0| 74 72 74 3a 51 49 20 28 | 6d 61 74 63 68 5f 6f 70 |trt:QI (|match_op|
|000055c0| 65 72 61 6e 64 3a 51 49 | 20 30 20 22 6e 6f 6e 69 |erand:QI| 0 "noni|
|000055d0| 6d 6d 65 64 69 61 74 65 | 5f 6f 70 65 72 61 6e 64 |mmediate|_operand|
|000055e0| 22 20 22 64 6d 22 29 0d | 09 09 09 09 20 20 20 20 |" "dm").|.... |
|000055f0| 20 20 28 63 6f 6e 73 74 | 5f 69 6e 74 20 37 29 29 | (const|_int 7))|
|00005600| 0d 09 09 09 20 30 29 29 | 5d 0d 20 20 22 22 0d 20 |.... 0))|]. "". |
|00005610| 20 22 2a 0d 7b 0d 20 20 | 63 63 5f 73 74 61 74 75 | "*.{. |cc_statu|
|00005620| 73 2e 66 6c 61 67 73 20 | 3d 20 43 43 5f 5a 5f 49 |s.flags |= CC_Z_I|
|00005630| 4e 5f 4e 4f 54 5f 4e 20 | 7c 20 43 43 5f 4e 4f 54 |N_NOT_N || CC_NOT|
|00005640| 5f 4e 45 47 41 54 49 56 | 45 3b 0d 20 20 72 65 74 |_NEGATIV|E;. ret|
|00005650| 75 72 6e 20 5c 22 74 73 | 74 25 2e 62 20 25 30 5c |urn \"ts|t%.b %0\|
|00005660| 22 3b 0d 7d 22 29 0d 0d | 28 64 65 66 69 6e 65 5f |";.}")..|(define_|
|00005670| 69 6e 73 6e 20 22 22 0d | 20 20 5b 28 73 65 74 20 |insn "".| [(set |
|00005680| 28 63 63 30 29 20 28 61 | 6e 64 3a 53 49 20 28 73 |(cc0) (a|nd:SI (s|
|00005690| 69 67 6e 5f 65 78 74 65 | 6e 64 3a 53 49 20 28 73 |ign_exte|nd:SI (s|
|000056a0| 69 67 6e 5f 65 78 74 65 | 6e 64 3a 48 49 20 28 6d |ign_exte|nd:HI (m|
|000056b0| 61 74 63 68 5f 6f 70 65 | 72 61 6e 64 3a 51 49 20 |atch_ope|rand:QI |
|000056c0| 30 20 22 6e 6f 6e 69 6d | 6d 65 64 69 61 74 65 5f |0 "nonim|mediate_|
|000056d0| 6f 70 65 72 61 6e 64 22 | 20 22 64 6d 22 29 29 29 |operand"| "dm")))|
|000056e0| 0d 09 09 20 20 20 20 20 | 20 28 6d 61 74 63 68 5f |... | (match_|
|000056f0| 6f 70 65 72 61 6e 64 3a | 53 49 20 31 20 22 67 65 |operand:|SI 1 "ge|
|00005700| 6e 65 72 61 6c 5f 6f 70 | 65 72 61 6e 64 22 20 22 |neral_op|erand" "|
|00005710| 69 22 29 29 29 5d 0d 20 | 20 22 28 47 45 54 5f 43 |i")))]. | "(GET_C|
|00005720| 4f 44 45 20 28 6f 70 65 | 72 61 6e 64 73 5b 31 5d |ODE (ope|rands[1]|
|00005730| 29 20 3d 3d 20 43 4f 4e | 53 54 5f 49 4e 54 0d 20 |) == CON|ST_INT. |
|00005740| 20 20 20 26 26 20 28 75 | 6e 73 69 67 6e 65 64 29 | && (u|nsigned)|
|00005750| 20 49 4e 54 56 41 4c 20 | 28 6f 70 65 72 61 6e 64 | INTVAL |(operand|
|00005760| 73 5b 31 5d 29 20 3c 20 | 30 78 31 30 30 0d 20 20 |s[1]) < |0x100. |
|00005770| 20 20 26 26 20 65 78 61 | 63 74 5f 6c 6f 67 32 20 | && exa|ct_log2 |
|00005780| 28 49 4e 54 56 41 4c 20 | 28 6f 70 65 72 61 6e 64 |(INTVAL |(operand|
|00005790| 73 5b 31 5d 29 29 20 3e | 3d 20 30 29 22 0d 20 20 |s[1])) >|= 0)". |
|000057a0| 22 2a 0d 7b 20 72 65 67 | 69 73 74 65 72 20 69 6e |"*.{ reg|ister in|
|000057b0| 74 20 6c 6f 67 20 3d 20 | 65 78 61 63 74 5f 6c 6f |t log = |exact_lo|
|000057c0| 67 32 20 28 49 4e 54 56 | 41 4c 20 28 6f 70 65 72 |g2 (INTV|AL (oper|
|000057d0| 61 6e 64 73 5b 31 5d 29 | 29 3b 0d 20 20 6f 70 65 |ands[1])|);. ope|
|000057e0| 72 61 6e 64 73 5b 31 5d | 20 3d 20 67 65 6e 5f 72 |rands[1]| = gen_r|
|000057f0| 74 78 20 28 43 4f 4e 53 | 54 5f 49 4e 54 2c 20 56 |tx (CONS|T_INT, V|
|00005800| 4f 49 44 6d 6f 64 65 2c | 20 6c 6f 67 29 3b 0d 20 |OIDmode,| log);. |
|00005810| 20 72 65 74 75 72 6e 20 | 6f 75 74 70 75 74 5f 62 | return |output_b|
|00005820| 74 73 74 20 28 6f 70 65 | 72 61 6e 64 73 2c 20 6f |tst (ope|rands, o|
|00005830| 70 65 72 61 6e 64 73 5b | 31 5d 2c 20 6f 70 65 72 |perands[|1], oper|
|00005840| 61 6e 64 73 5b 30 5d 2c | 20 69 6e 73 6e 2c 20 37 |ands[0],| insn, 7|
|00005850| 29 3b 0d 7d 22 29 0d 0c | 0d 3b 3b 20 6d 6f 76 65 |);.}")..|.;; move|
|00005860| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 73 0d 0d 3b | instruc|tions..;|
|00005870| 3b 20 41 20 73 70 65 63 | 69 61 6c 20 63 61 73 65 |; A spec|ial case|
|00005880| 20 69 6e 20 77 68 69 63 | 68 20 69 74 20 69 73 20 | in whic|h it is |
|00005890| 6e 6f 74 20 64 65 73 69 | 72 61 62 6c 65 0d 3b 3b |not desi|rable.;;|
|000058a0| 20 74 6f 20 72 65 6c 6f | 61 64 20 74 68 65 20 63 | to relo|ad the c|
|000058b0| 6f 6e 73 74 61 6e 74 20 | 69 6e 74 6f 20 61 20 64 |onstant |into a d|
|000058c0| 61 74 61 20 72 65 67 69 | 73 74 65 72 2e 0d 28 64 |ata regi|ster..(d|
|000058d0| 65 66 69 6e 65 5f 69 6e | 73 6e 20 22 22 0d 20 20 |efine_in|sn "". |
|000058e0| 5b 28 73 65 74 20 28 6d | 61 74 63 68 5f 6f 70 65 |[(set (m|atch_ope|
|000058f0| 72 61 6e 64 3a 53 49 20 | 30 20 22 70 75 73 68 5f |rand:SI |0 "push_|
|00005900| 6f 70 65 72 61 6e 64 22 | 20 22 3d 6d 22 29 0d 09 |operand"| "=m")..|
|00005910| 28 6d 61 74 63 68 5f 6f | 70 65 72 61 6e 64 3a 53 |(match_o|perand:S|
|00005920| 49 20 31 20 22 67 65 6e | 65 72 61 6c 5f 6f 70 65 |I 1 "gen|eral_ope|
|00005930| 72 61 6e 64 22 20 22 4a | 22 29 29 5d 0d 20 20 22 |rand" "J|"))]. "|
|00005940| 47 45 54 5f 43 4f 44 45 | 20 28 6f 70 65 72 61 6e |GET_CODE| (operan|
|00005950| 64 73 5b 31 5d 29 20 3d | 3d 20 43 4f 4e 53 54 5f |ds[1]) =|= CONST_|
|00005960| 49 4e 54 0d 20 20 20 26 | 26 20 49 4e 54 56 41 4c |INT. &|& INTVAL|
|00005970| 20 28 6f 70 65 72 61 6e | 64 73 5b 31 5d 29 20 3e | (operan|ds[1]) >|
|00005980| 3d 20 2d 30 78 38 30 30 | 30 0d 20 20 20 26 26 20 |= -0x800|0. && |
|00005990| 49 4e 54 56 41 4c 20 28 | 6f 70 65 72 61 6e 64 73 |INTVAL (|operands|
|000059a0| 5b 31 5d 29 20 3c 20 30 | 78 38 30 30 30 22 0d 20 |[1]) < 0|x8000". |
|000059b0| 20 22 2a 0d 7b 0d 20 20 | 69 66 20 28 6f 70 65 72 | "*.{. |if (oper|
|000059c0| 61 6e 64 73 5b 31 5d 20 | 3d 3d 20 63 6f 6e 73 74 |ands[1] |== const|
|000059d0| 30 5f 72 74 78 29 0d 20 | 20 20 20 72 65 74 75 72 |0_rtx). | retur|
|000059e0| 6e 20 5c 22 63 6c 72 25 | 2e 6c 20 25 30 5c 22 3b |n \"clr%|.l %0\";|
|000059f0| 0d 20 20 72 65 74 75 72 | 6e 20 5c 22 70 65 61 20 |. retur|n \"pea |
|00005a00| 25 61 31 5c 22 3b 0d 7d | 22 29 0d 0d 3b 54 68 69 |%a1\";.}|")..;Thi|
|00005a10| 73 20 69 73 20 6e 65 76 | 65 72 20 75 73 65 64 2e |s is nev|er used.|
|00005a20| 0d 3b 28 64 65 66 69 6e | 65 5f 69 6e 73 6e 20 22 |.;(defin|e_insn "|
|00005a30| 73 77 61 70 73 69 22 0d | 3b 20 20 5b 28 73 65 74 |swapsi".|; [(set|
|00005a40| 20 28 6d 61 74 63 68 5f | 6f 70 65 72 61 6e 64 3a | (match_|operand:|
|00005a50| 53 49 20 30 20 22 67 65 | 6e 65 72 61 6c 5f 6f 70 |SI 0 "ge|neral_op|
|00005a60| 65 72 61 6e 64 22 20 22 | 72 22 29 0d 3b 09 28 6d |erand" "|r").;.(m|
|00005a70| 61 74 63 68 5f 6f 70 65 | 72 61 6e 64 3a 53 49 20 |atch_ope|rand:SI |
|00005a80| 31 20 22 67 65 6e 65 72 | 61 6c 5f 6f 70 65 72 61 |1 "gener|al_opera|
|00005a90| 6e 64 22 20 22 72 22 29 | 29 0d 3b 20 20 20 28 73 |nd" "r")|).; (s|
|00005aa0| 65 74 20 28 6d 61 74 63 | 68 5f 64 75 70 20 31 29 |et (matc|h_dup 1)|
|00005ab0| 20 28 6d 61 74 63 68 5f | 64 75 70 20 30 29 29 5d | (match_|dup 0))]|
|00005ac0| 0d 3b 20 20 22 22 0d 3b | 20 20 22 65 78 67 20 25 |.; "".;| "exg %|
|00005ad0| 31 2c 25 30 22 29 0d 0d | 3b 3b 20 53 70 65 63 69 |1,%0")..|;; Speci|
|00005ae0| 61 6c 20 63 61 73 65 20 | 6f 66 20 66 75 6c 6c 77 |al case |of fullw|
|00005af0| 6f 72 64 20 6d 6f 76 65 | 20 77 68 65 6e 20 73 6f |ord move| when so|
|00005b00| 75 72 63 65 20 69 73 20 | 7a 65 72 6f 2e 0d 3b 3b |urce is |zero..;;|
|00005b10| 20 54 68 65 20 72 65 61 | 73 6f 6e 20 74 68 69 73 | The rea|son this|
|00005b20| 20 69 73 20 73 70 65 63 | 69 61 6c 20 69 73 20 74 | is spec|ial is t|
|00005b30| 6f 20 61 76 6f 69 64 20 | 6c 6f 61 64 69 6e 67 20 |o avoid |loading |
|00005b40| 61 20 7a 65 72 6f 0d 3b | 3b 20 69 6e 74 6f 20 61 |a zero.;|; into a|
|00005b50| 20 64 61 74 61 20 72 65 | 67 20 77 69 74 68 20 6d | data re|g with m|
|00005b60| 6f 76 65 71 20 69 6e 20 | 6f 72 64 65 72 20 74 6f |oveq in |order to|
|00005b70| 20 73 74 6f 72 65 20 69 | 74 20 65 6c 73 65 77 68 | store i|t elsewh|
|00005b80| 65 72 65 2e 0d 20 20 20 | 0d 28 64 65 66 69 6e 65 |ere.. |.(define|
|00005b90| 5f 69 6e 73 6e 20 22 22 | 0d 20 20 5b 28 73 65 74 |_insn ""|. [(set|
|00005ba0| 20 28 6d 61 74 63 68 5f | 6f 70 65 72 61 6e 64 3a | (match_|operand:|
|00005bb0| 53 49 20 30 20 22 67 65 | 6e 65 72 61 6c 5f 6f 70 |SI 0 "ge|neral_op|
|00005bc0| 65 72 61 6e 64 22 20 22 | 3d 67 22 29 0d 09 28 63 |erand" "|=g")..(c|
|00005bd0| 6f 6e 73 74 5f 69 6e 74 | 20 30 29 29 5d 0d 20 20 |onst_int| 0))]. |
|00005be0| 22 22 0d 20 20 22 2a 0d | 7b 0d 20 20 69 66 20 28 |"". "*.|{. if (|
|00005bf0| 41 44 44 52 45 53 53 5f | 52 45 47 5f 50 20 28 6f |ADDRESS_|REG_P (o|
|00005c00| 70 65 72 61 6e 64 73 5b | 30 5d 29 29 0d 20 20 20 |perands[|0])). |
|00005c10| 20 72 65 74 75 72 6e 20 | 5c 22 73 75 62 25 2e 6c | return |\"sub%.l|
|00005c20| 20 25 30 2c 25 30 5c 22 | 3b 0d 20 20 2f 2a 20 6d | %0,%0\"|;. /* m|
|00005c30| 6f 76 65 71 20 69 73 20 | 66 61 73 74 65 72 20 6f |oveq is |faster o|
|00005c40| 6e 20 74 68 65 20 36 38 | 30 30 30 2e 20 20 2a 2f |n the 68|000. */|
|00005c50| 0d 20 20 69 66 20 28 44 | 41 54 41 5f 52 45 47 5f |. if (D|ATA_REG_|
|00005c60| 50 20 28 6f 70 65 72 61 | 6e 64 73 5b 30 5d 29 20 |P (opera|nds[0]) |
|00005c70| 26 26 20 21 54 41 52 47 | 45 54 5f 36 38 30 32 30 |&& !TARG|ET_68020|
|00005c80| 29 0d 23 69 66 64 65 66 | 20 4d 4f 54 4f 52 4f 4c |).#ifdef| MOTOROL|
|00005c90| 41 0d 20 20 20 20 72 65 | 74 75 72 6e 20 5c 22 6d |A. re|turn \"m|
|00005ca0| 6f 76 65 71 25 2e 6c 20 | 25 23 30 2c 25 30 5c 22 |oveq%.l |%#0,%0\"|
|00005cb0| 3b 0d 23 65 6c 73 65 0d | 20 20 20 20 72 65 74 75 |;.#else.| retu|
|00005cc0| 72 6e 20 5c 22 6d 6f 76 | 65 71 20 25 23 30 2c 25 |rn \"mov|eq %#0,%|
|00005cd0| 30 5c 22 3b 0d 23 65 6e | 64 69 66 0d 20 20 72 65 |0\";.#en|dif. re|
|00005ce0| 74 75 72 6e 20 5c 22 63 | 6c 72 25 2e 6c 20 25 30 |turn \"c|lr%.l %0|
|00005cf0| 5c 22 3b 0d 7d 22 29 0d | 0d 3b 3b 20 47 65 6e 65 |\";.}").|.;; Gene|
|00005d00| 72 61 6c 20 63 61 73 65 | 20 6f 66 20 66 75 6c 6c |ral case| of full|
|00005d10| 77 6f 72 64 20 6d 6f 76 | 65 2e 20 20 54 68 65 20 |word mov|e. The |
|00005d20| 72 65 67 69 73 74 65 72 | 20 63 6f 6e 73 74 72 61 |register| constra|
|00005d30| 69 6e 74 73 0d 3b 3b 20 | 66 6f 72 63 65 20 69 6e |ints.;; |force in|
|00005d40| 74 65 67 65 72 20 63 6f | 6e 73 74 61 6e 74 73 20 |teger co|nstants |
|00005d50| 69 6e 20 72 61 6e 67 65 | 20 66 6f 72 20 61 20 6d |in range| for a m|
|00005d60| 6f 76 65 71 20 74 6f 20 | 62 65 20 72 65 6c 6f 61 |oveq to |be reloa|
|00005d70| 64 65 64 0d 3b 3b 20 69 | 66 20 74 68 65 79 20 61 |ded.;; i|f they a|
|00005d80| 72 65 20 68 65 61 64 65 | 64 20 66 6f 72 20 6d 65 |re heade|d for me|
|00005d90| 6d 6f 72 79 2e 0d 28 64 | 65 66 69 6e 65 5f 69 6e |mory..(d|efine_in|
|00005da0| 73 6e 20 22 6d 6f 76 73 | 69 22 0d 20 20 3b 3b 20 |sn "movs|i". ;; |
|00005db0| 4e 6f 74 65 73 3a 20 6d | 61 6b 65 20 73 75 72 65 |Notes: m|ake sure|
|00005dc0| 20 6e 6f 20 61 6c 74 65 | 72 6e 61 74 69 76 65 20 | no alte|rnative |
|00005dd0| 61 6c 6c 6f 77 73 20 67 | 20 76 73 20 67 2e 0d 20 |allows g| vs g.. |
|00005de0| 20 3b 3b 20 57 65 20 64 | 6f 6e 27 74 20 61 6c 6c | ;; We d|on't all|
|00005df0| 6f 77 20 66 2d 72 65 67 | 73 20 73 69 6e 63 65 20 |ow f-reg|s since |
|00005e00| 66 69 78 65 64 20 70 6f | 69 6e 74 20 63 61 6e 6e |fixed po|int cann|
|00005e10| 6f 74 20 67 6f 20 69 6e | 20 74 68 65 6d 2e 0d 20 |ot go in| them.. |
|00005e20| 20 3b 3b 20 57 65 20 64 | 6f 20 61 6c 6c 6f 77 20 | ;; We d|o allow |
|00005e30| 79 20 61 6e 64 20 78 20 | 72 65 67 73 20 73 69 6e |y and x |regs sin|
|00005e40| 63 65 20 66 69 78 65 64 | 20 70 6f 69 6e 74 20 69 |ce fixed| point i|
|00005e50| 73 20 61 6c 6c 6f 77 65 | 64 20 69 6e 20 74 68 65 |s allowe|d in the|
|00005e60| 6d 2e 0d 20 20 5b 28 73 | 65 74 20 28 6d 61 74 63 |m.. [(s|et (matc|
|00005e70| 68 5f 6f 70 65 72 61 6e | 64 3a 53 49 20 30 20 22 |h_operan|d:SI 0 "|
|00005e80| 67 65 6e 65 72 61 6c 5f | 6f 70 65 72 61 6e 64 22 |general_|operand"|
|00005e90| 20 22 3d 67 2c 64 61 2c | 79 2c 21 2a 78 2a 72 2a | "=g,da,|y,!*x*r*|
|00005ea0| 6d 22 29 0d 09 28 6d 61 | 74 63 68 5f 6f 70 65 72 |m")..(ma|tch_oper|
|00005eb0| 61 6e 64 3a 53 49 20 31 | 20 22 67 65 6e 65 72 61 |and:SI 1| "genera|
|00005ec0| 6c 5f 6f 70 65 72 61 6e | 64 22 20 22 64 61 79 6d |l_operan|d" "daym|
|00005ed0| 4b 73 2c 69 2c 67 2c 2a | 78 2a 72 2a 6d 22 29 29 |Ks,i,g,*|x*r*m"))|
|00005ee0| 5d 0d 20 20 22 22 0d 20 | 20 22 2a 0d 7b 0d 20 20 |]. "". | "*.{. |
|00005ef0| 69 66 20 28 77 68 69 63 | 68 5f 61 6c 74 65 72 6e |if (whic|h_altern|
|00005f00| 61 74 69 76 65 20 3d 3d | 20 33 29 0d 20 20 20 20 |ative ==| 3). |
|00005f10| 72 65 74 75 72 6e 20 5c | 22 66 70 6d 6f 76 65 25 |return \|"fpmove%|
|00005f20| 2e 6c 20 25 78 31 2c 66 | 70 61 30 5c 3b 66 70 6d |.l %x1,f|pa0\;fpm|
|00005f30| 6f 76 65 25 2e 6c 20 66 | 70 61 30 2c 25 78 30 5c |ove%.l f|pa0,%x0\|
|00005f40| 22 3b 09 0d 20 20 69 66 | 20 28 46 50 41 5f 52 45 |";.. if| (FPA_RE|
|00005f50| 47 5f 50 20 28 6f 70 65 | 72 61 6e 64 73 5b 31 5d |G_P (ope|rands[1]|
|00005f60| 29 20 7c 7c 20 46 50 41 | 5f 52 45 47 5f 50 20 28 |) || FPA|_REG_P (|
|00005f70| 6f 70 65 72 61 6e 64 73 | 5b 30 5d 29 29 0d 20 20 |operands|[0])). |
|00005f80| 20 20 72 65 74 75 72 6e | 20 5c 22 66 70 6d 6f 76 | return| \"fpmov|
|00005f90| 65 25 2e 6c 20 25 78 31 | 2c 25 78 30 5c 22 3b 0d |e%.l %x1|,%x0\";.|
|00005fa0| 20 20 69 66 20 28 47 45 | 54 5f 43 4f 44 45 20 28 | if (GE|T_CODE (|
|00005fb0| 6f 70 65 72 61 6e 64 73 | 5b 31 5d 29 20 3d 3d 20 |operands|[1]) == |
|00005fc0| 43 4f 4e 53 54 5f 49 4e | 54 29 0d 20 20 20 20 7b |CONST_IN|T). {|
|00005fd0| 0d 20 20 20 20 20 20 69 | 66 20 28 6f 70 65 72 61 |. i|f (opera|
|00005fe0| 6e 64 73 5b 31 5d 20 3d | 3d 20 63 6f 6e 73 74 30 |nds[1] =|= const0|
|00005ff0| 5f 72 74 78 0d 09 20 20 | 26 26 20 28 44 41 54 41 |_rtx.. |&& (DATA|
|00006000| 5f 52 45 47 5f 50 20 28 | 6f 70 65 72 61 6e 64 73 |_REG_P (|operands|
|00006010| 5b 30 5d 29 0d 09 20 20 | 20 20 20 20 7c 7c 20 47 |[0]).. | || G|
|00006020| 45 54 5f 43 4f 44 45 20 | 28 6f 70 65 72 61 6e 64 |ET_CODE |(operand|
|00006030| 73 5b 30 5d 29 20 3d 3d | 20 4d 45 4d 29 29 0d 09 |s[0]) ==| MEM))..|
|00006040| 72 65 74 75 72 6e 20 5c | 22 63 6c 72 25 2e 6c 20 |return \|"clr%.l |
|00006050| 25 30 5c 22 3b 0d 20 20 | 20 20 20 20 65 6c 73 65 |%0\";. | else|
|00006060| 20 69 66 20 28 44 41 54 | 41 5f 52 45 47 5f 50 20 | if (DAT|A_REG_P |
|00006070| 28 6f 70 65 72 61 6e 64 | 73 5b 30 5d 29 0d 09 20 |(operand|s[0]).. |
|00006080| 20 20 20 20 20 20 26 26 | 20 49 4e 54 56 41 4c 20 | &&| INTVAL |
|00006090| 28 6f 70 65 72 61 6e 64 | 73 5b 31 5d 29 20 3c 20 |(operand|s[1]) < |
|000060a0| 31 32 38 0d 09 20 20 20 | 20 20 20 20 26 26 20 49 |128.. | && I|
|000060b0| 4e 54 56 41 4c 20 28 6f | 70 65 72 61 6e 64 73 5b |NTVAL (o|perands[|
|000060c0| 31 5d 29 20 3e 3d 20 2d | 31 32 38 29 0d 20 20 20 |1]) >= -|128). |
|000060d0| 20 20 20 20 20 7b 0d 23 | 69 66 64 65 66 20 4d 4f | {.#|ifdef MO|
|000060e0| 54 4f 52 4f 4c 41 0d 20 | 20 20 20 20 20 20 20 20 |TOROLA. | |
|000060f0| 20 72 65 74 75 72 6e 20 | 5c 22 6d 6f 76 65 71 25 | return |\"moveq%|
|00006100| 2e 6c 20 25 31 2c 25 30 | 5c 22 3b 0d 23 65 6c 73 |.l %1,%0|\";.#els|
|00006110| 65 0d 09 20 20 72 65 74 | 75 72 6e 20 5c 22 6d 6f |e.. ret|urn \"mo|
|00006120| 76 65 71 20 25 31 2c 25 | 30 5c 22 3b 0d 23 65 6e |veq %1,%|0\";.#en|
|00006130| 64 69 66 0d 09 7d 0d 20 | 20 20 20 20 20 65 6c 73 |dif..}. | els|
|00006140| 65 20 69 66 20 28 41 44 | 44 52 45 53 53 5f 52 45 |e if (AD|DRESS_RE|
|00006150| 47 5f 50 20 28 6f 70 65 | 72 61 6e 64 73 5b 30 5d |G_P (ope|rands[0]|
|00006160| 29 0d 09 20 20 20 20 20 | 20 20 26 26 20 49 4e 54 |).. | && INT|
|00006170| 56 41 4c 20 28 6f 70 65 | 72 61 6e 64 73 5b 31 5d |VAL (ope|rands[1]|
|00006180| 29 20 3c 20 30 78 38 30 | 30 30 0d 09 20 20 20 20 |) < 0x80|00.. |
|00006190| 20 20 20 26 26 20 49 4e | 54 56 41 4c 20 28 6f 70 | && IN|TVAL (op|
|000061a0| 65 72 61 6e 64 73 5b 31 | 5d 29 20 3e 3d 20 2d 30 |erands[1|]) >= -0|
|000061b0| 78 38 30 30 30 29 0d 09 | 72 65 74 75 72 6e 20 5c |x8000)..|return \|
|000061c0| 22 6d 6f 76 65 25 2e 77 | 20 25 31 2c 25 30 5c 22 |"move%.w| %1,%0\"|
|000061d0| 3b 0d 20 20 20 20 20 20 | 65 6c 73 65 20 69 66 20 |;. |else if |
|000061e0| 28 70 75 73 68 5f 6f 70 | 65 72 61 6e 64 20 28 6f |(push_op|erand (o|
|000061f0| 70 65 72 61 6e 64 73 5b | 30 5d 2c 20 53 49 6d 6f |perands[|0], SImo|
|00006200| 64 65 29 0d 09 20 20 20 | 20 20 20 20 26 26 20 49 |de).. | && I|
|00006210| 4e 54 56 41 4c 20 28 6f | 70 65 72 61 6e 64 73 5b |NTVAL (o|perands[|
|00006220| 31 5d 29 20 3c 20 30 78 | 38 30 30 30 0d 09 20 20 |1]) < 0x|8000.. |
|00006230| 20 20 20 20 20 26 26 20 | 49 4e 54 56 41 4c 20 28 | && |INTVAL (|
|00006240| 6f 70 65 72 61 6e 64 73 | 5b 31 5d 29 20 3e 3d 20 |operands|[1]) >= |
|00006250| 2d 30 78 38 30 30 30 29 | 0d 20 20 20 20 20 20 20 |-0x8000)|. |
|00006260| 20 72 65 74 75 72 6e 20 | 5c 22 70 65 61 20 25 61 | return |\"pea %a|
|00006270| 31 5c 22 3b 0d 20 20 20 | 20 7d 0d 20 20 65 6c 73 |1\";. | }. els|
|00006280| 65 20 69 66 20 28 28 47 | 45 54 5f 43 4f 44 45 20 |e if ((G|ET_CODE |
|00006290| 28 6f 70 65 72 61 6e 64 | 73 5b 31 5d 29 20 3d 3d |(operand|s[1]) ==|
|000062a0| 20 53 59 4d 42 4f 4c 5f | 52 45 46 0d 09 20 20 20 | SYMBOL_|REF.. |
|000062b0| 20 7c 7c 20 47 45 54 5f | 43 4f 44 45 20 28 6f 70 | || GET_|CODE (op|
|000062c0| 65 72 61 6e 64 73 5b 31 | 5d 29 20 3d 3d 20 43 4f |erands[1|]) == CO|
|000062d0| 4e 53 54 29 0d 09 20 20 | 20 26 26 20 70 75 73 68 |NST).. | && push|
|000062e0| 5f 6f 70 65 72 61 6e 64 | 20 28 6f 70 65 72 61 6e |_operand| (operan|
|000062f0| 64 73 5b 30 5d 2c 20 53 | 49 6d 6f 64 65 29 29 0d |ds[0], S|Imode)).|
|00006300| 20 20 20 20 72 65 74 75 | 72 6e 20 5c 22 70 65 61 | retu|rn \"pea|
|00006310| 20 25 61 31 5c 22 3b 0d | 20 20 65 6c 73 65 20 69 | %a1\";.| else i|
|00006320| 66 20 28 28 47 45 54 5f | 43 4f 44 45 20 28 6f 70 |f ((GET_|CODE (op|
|00006330| 65 72 61 6e 64 73 5b 31 | 5d 29 20 3d 3d 20 53 59 |erands[1|]) == SY|
|00006340| 4d 42 4f 4c 5f 52 45 46 | 0d 09 20 20 20 20 7c 7c |MBOL_REF|.. |||
|00006350| 20 47 45 54 5f 43 4f 44 | 45 20 28 6f 70 65 72 61 | GET_COD|E (opera|
|00006360| 6e 64 73 5b 31 5d 29 20 | 3d 3d 20 43 4f 4e 53 54 |nds[1]) |== CONST|
|00006370| 29 0d 09 20 20 20 26 26 | 20 41 44 44 52 45 53 53 |).. &&| ADDRESS|
|00006380| 5f 52 45 47 5f 50 20 28 | 6f 70 65 72 61 6e 64 73 |_REG_P (|operands|
|00006390| 5b 30 5d 29 29 0d 20 20 | 20 20 72 65 74 75 72 6e |[0])). | return|
|000063a0| 20 5c 22 6c 65 61 20 25 | 61 31 2c 25 30 5c 22 3b | \"lea %|a1,%0\";|
|000063b0| 0d 20 20 72 65 74 75 72 | 6e 20 5c 22 6d 6f 76 65 |. retur|n \"move|
|000063c0| 25 2e 6c 20 25 31 2c 25 | 30 5c 22 3b 0d 7d 22 29 |%.l %1,%|0\";.}")|
|000063d0| 0d 0d 28 64 65 66 69 6e | 65 5f 69 6e 73 6e 20 22 |..(defin|e_insn "|
|000063e0| 6d 6f 76 68 69 22 0d 20 | 20 5b 28 73 65 74 20 28 |movhi". | [(set (|
|000063f0| 6d 61 74 63 68 5f 6f 70 | 65 72 61 6e 64 3a 48 49 |match_op|erand:HI|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.